Show version on menu

This commit is contained in:
Adolfo Reyna
2025-02-10 22:05:51 -05:00
parent 8f62e4b953
commit 13406f2774

View File

@@ -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>
)