diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-06-02 15:29:36 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-06-02 15:29:36 -0500 |
commit | 75b729a670a9db03bd8c977b4255cbaa4a6eeb87 (patch) | |
tree | 42b3bf2cda0f91e819624cbe4822b9a9ae5b3ed8 /src/view/shell/index.tsx | |
parent | a2721ceb95d472a35628fa7bb9361297a317437a (diff) | |
parent | ba4bb46c3fc3d670e565c69bdf71dbb4510b51f0 (diff) | |
download | voidsky-75b729a670a9db03bd8c977b4255cbaa4a6eeb87.tar.zst |
Merge branch 'main' of github.com:bluesky-social/social-app into main
Diffstat (limited to 'src/view/shell/index.tsx')
-rw-r--r-- | src/view/shell/index.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
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( |