diff options
Diffstat (limited to 'src/App.native.tsx')
-rw-r--r-- | src/App.native.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/App.native.tsx b/src/App.native.tsx index 3cce25548..e9d7542c0 100644 --- a/src/App.native.tsx +++ b/src/App.native.tsx @@ -10,6 +10,7 @@ import {ThemeProvider} from './view/lib/ThemeContext' import * as view from './view/index' import {RootStoreModel, setupState, RootStoreProvider} from './state' import {MobileShell} from './view/shell/mobile' +import {s} from './view/lib/styles' const App = observer(() => { const [rootStore, setRootStore] = useState<RootStoreModel | undefined>( @@ -39,7 +40,7 @@ const App = observer(() => { } return ( - <GestureHandlerRootView style={{flex: 1}}> + <GestureHandlerRootView style={s.h100pct}> <RootSiblingParent> <RootStoreProvider value={rootStore}> <ThemeProvider theme={rootStore.shell.darkMode ? 'dark' : 'light'}> |