diff options
Diffstat (limited to 'src/view')
-rw-r--r-- | src/view/screens/Settings.tsx | 2 | ||||
-rw-r--r-- | src/view/shell/index.tsx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/view/screens/Settings.tsx b/src/view/screens/Settings.tsx index 798893855..52be35a48 100644 --- a/src/view/screens/Settings.tsx +++ b/src/view/screens/Settings.tsx @@ -445,7 +445,7 @@ export const SettingsScreen = withAuthRequired( </Link> ) : null} <Text type="sm" style={[styles.buildInfo, pal.textLight]}> - Build version {AppInfo.appVersion} + Build version {AppInfo.appVersion} {AppInfo.updateChannel} </Text> <View style={s.footerSpacer} /> </ScrollView> diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx index a6066b25f..36f7442dc 100644 --- a/src/view/shell/index.tsx +++ b/src/view/shell/index.tsx @@ -18,9 +18,11 @@ import {RoutesContainer, TabsNavigator} from '../../Navigation' import {isStateAtTabRoot} from 'lib/routes/helpers' import {isAndroid} from 'platform/detection' import {SafeAreaProvider} from 'react-native-safe-area-context' +import {useOTAUpdate} from 'lib/hooks/useOTAUpdate' const ShellInner = observer(() => { const store = useStores() + useOTAUpdate() // this hook polls for OTA updates every few seconds const winDim = useWindowDimensions() const safeAreaInsets = useSafeAreaInsets() const containerPadding = React.useMemo( |