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