From 6124e5283628564b651463d7710f13096e9bd20c Mon Sep 17 00:00:00 2001 From: Ansh Date: Mon, 8 May 2023 16:05:36 -0400 Subject: add theme to SafeAreaView and preventAutoHide SplashScreen (#592) --- src/view/shell/index.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/view/shell/index.tsx') diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx index 3c1520117..a6066b25f 100644 --- a/src/view/shell/index.tsx +++ b/src/view/shell/index.tsx @@ -17,6 +17,7 @@ import * as backHandler from 'lib/routes/back-handler' import {RoutesContainer, TabsNavigator} from '../../Navigation' import {isStateAtTabRoot} from 'lib/routes/helpers' import {isAndroid} from 'platform/detection' +import {SafeAreaProvider} from 'react-native-safe-area-context' const ShellInner = observer(() => { const store = useStores() @@ -78,12 +79,14 @@ export const Shell: React.FC = observer(() => { const pal = usePalette('default') const theme = useTheme() return ( - - - - - - + + + + + + + + ) }) -- cgit 1.4.1