about summary refs log tree commit diff
path: root/src/view/shell/index.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-12-14 14:48:40 -0600
committerGitHub <noreply@github.com>2023-12-14 14:48:40 -0600
commit7897dd24a14e65d8ab1aa0e474a09e0628da31b7 (patch)
tree77cec13da7f55ae1d8535550f497ad7314ece0e4 /src/view/shell/index.tsx
parent075ffdf583c5393b896d22dd179d03208311ef4a (diff)
downloadvoidsky-7897dd24a14e65d8ab1aa0e474a09e0628da31b7.tar.zst
🤫 (#2211)
* Add new assets

* Add splashiness

* Add butter icon, spread it

* Cream together eggs, sugar, and vanilla

* Hi, I'd like to place and order. Yeah, none pizza with left beef, plz.

* test

* Refine animation

* tweak

* tweak

* tweak

* Tweak

* Simplify

* Cleanup

* Fix android logo

---------

Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
Diffstat (limited to 'src/view/shell/index.tsx')
-rw-r--r--src/view/shell/index.tsx18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx
index 18042c7ed..51c03ae3d 100644
--- a/src/view/shell/index.tsx
+++ b/src/view/shell/index.tsx
@@ -20,10 +20,6 @@ import {usePalette} from 'lib/hooks/usePalette'
 import {RoutesContainer, TabsNavigator} from '../../Navigation'
 import {isStateAtTabRoot} from 'lib/routes/helpers'
 import {
-  SafeAreaProvider,
-  initialWindowMetrics,
-} from 'react-native-safe-area-context'
-import {
   useIsDrawerOpen,
   useSetDrawerOpen,
   useIsDrawerSwipeDisabled,
@@ -107,14 +103,12 @@ export const Shell: React.FC = function ShellImpl() {
   const pal = usePalette('default')
   const theme = useTheme()
   return (
-    <SafeAreaProvider initialMetrics={initialWindowMetrics} style={pal.view}>
-      <View testID="mobileShellView" style={[styles.outerContainer, pal.view]}>
-        <StatusBar style={theme.colorScheme === 'dark' ? 'light' : 'dark'} />
-        <RoutesContainer>
-          <ShellInner />
-        </RoutesContainer>
-      </View>
-    </SafeAreaProvider>
+    <View testID="mobileShellView" style={[styles.outerContainer, pal.view]}>
+      <StatusBar style={theme.colorScheme === 'dark' ? 'light' : 'dark'} />
+      <RoutesContainer>
+        <ShellInner />
+      </RoutesContainer>
+    </View>
   )
 }