Show version on menu
This commit is contained in:
@@ -10,6 +10,7 @@ import { useSnapshot } from 'valtio';
|
||||
import GlobalState from '../contexts/GlobalState.js';
|
||||
import ProfileCardHorizontal from "../components/ProfileCardHorizontal.js";
|
||||
import { reloadAppAsync } from "expo";
|
||||
import * as Updates from 'expo-updates';
|
||||
|
||||
|
||||
let MenuView = ({ navigation }) => {
|
||||
@@ -93,6 +94,10 @@ let MenuView = ({ navigation }) => {
|
||||
<RadioButton.Item value="fr" label="French" />
|
||||
</RadioButton.Group>
|
||||
</View>
|
||||
<View style={{ padding: 10, alignContent: "center", flex: 1 }}>
|
||||
<Text>Version: {Updates.runtimeVersion}</Text>
|
||||
<Text>Channel: {Updates.Channel}</Text>
|
||||
</View>
|
||||
</ImageBackground>
|
||||
</ScrollView>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user