diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-16 14:05:21 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-16 14:05:21 -0600 |
commit | 0b7b91d5fde7d59d5e9f141d632ec66068aacf36 (patch) | |
tree | 2fa5e774e223c30edf23429297f01cd6233917de /src/App.native.tsx | |
parent | fec1589f7c3501689e280023d3606d6b89988a3b (diff) | |
download | voidsky-0b7b91d5fde7d59d5e9f141d632ec66068aacf36.tar.zst |
Fix sizing on smaller phones
Diffstat (limited to 'src/App.native.tsx')
-rw-r--r-- | src/App.native.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/App.native.tsx b/src/App.native.tsx index e6be77225..3d3e5f1b0 100644 --- a/src/App.native.tsx +++ b/src/App.native.tsx @@ -3,6 +3,7 @@ import React, {useState, useEffect} from 'react' import {RootSiblingParent} from 'react-native-root-siblings' import {GestureHandlerRootView} from 'react-native-gesture-handler' import SplashScreen from 'react-native-splash-screen' +import {SafeAreaProvider} from 'react-native-safe-area-context' import {whenWebCrypto} from './platform/polyfills.native' import * as view from './view/index' import {RootStoreModel, setupState, RootStoreProvider} from './state' @@ -35,7 +36,9 @@ function App() { <GestureHandlerRootView style={{flex: 1}}> <RootSiblingParent> <RootStoreProvider value={rootStore}> - <MobileShell /> + <SafeAreaProvider> + <MobileShell /> + </SafeAreaProvider> </RootStoreProvider> </RootSiblingParent> </GestureHandlerRootView> |