Settings shows the installed build version (CI-stamped versionName) — confirms which release Obtainium delivered
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import * as Application from "expo-application";
|
||||
import { useRouter } from "expo-router";
|
||||
import { useEffect, useState } from "react";
|
||||
import { ScrollView, Text } from "react-native";
|
||||
@@ -44,6 +45,10 @@ export default function Settings() {
|
||||
/>
|
||||
<Button title="Save & test" onPress={save} />
|
||||
{status && <Text style={{ color: C.danger }}>{status}</Text>}
|
||||
{/* CI stamps versionName from the release tag — confirms which build Obtainium installed. */}
|
||||
<Text style={{ color: C.muted, fontSize: 13, textAlign: "center", marginTop: 32 }}>
|
||||
GTD v{Application.nativeApplicationVersion ?? "dev"}
|
||||
</Text>
|
||||
</ScrollView>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user