diff options
| author | Mohamed Bassem <me@mbassem.com> | 2024-11-24 16:03:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-24 16:03:45 +0000 |
| commit | fd4a99678cd222941cc66de5d7fcd5f7615f375d (patch) | |
| tree | 53230b11ef0ee315a8e7574c07b9c1fdbb4834e5 /apps/mobile/app/_layout.tsx | |
| parent | d32457e84dda26c0ef63eec6125291d14fa37eb4 (diff) | |
| download | karakeep-fd4a99678cd222941cc66de5d7fcd5f7615f375d.tar.zst | |
deps(mobile): Upgrade to Expo 52 (#692)
* fix(mobile): Sharing bookmark modal
* WIP: Upgrade to 52
* post ugprade fixes
* more fixes
* fix padding in tabbar
Diffstat (limited to 'apps/mobile/app/_layout.tsx')
| -rw-r--r-- | apps/mobile/app/_layout.tsx | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/apps/mobile/app/_layout.tsx b/apps/mobile/app/_layout.tsx index 62c29c27..3a8f99a1 100644 --- a/apps/mobile/app/_layout.tsx +++ b/apps/mobile/app/_layout.tsx @@ -33,9 +33,9 @@ export default function RootLayout() { }, [settings.theme]); return ( - <ShareIntentProvider> - <Providers> - <GestureHandlerRootView style={{ flex: 1 }}> + <GestureHandlerRootView style={{ flex: 1 }}> + <ShareIntentProvider> + <Providers> <View className={cn( "w-full flex-1 bg-gray-100 text-foreground dark:bg-background", @@ -60,10 +60,7 @@ export default function RootLayout() { }} /> <Stack.Screen name="server-address" /> - <Stack.Screen - name="sharing" - options={{ presentation: "modal" }} - /> + <Stack.Screen name="sharing" /> <Stack.Screen name="test-connection" options={{ @@ -75,8 +72,8 @@ export default function RootLayout() { </StyledStack> <StatusBar style="auto" /> </View> - </GestureHandlerRootView> - </Providers> - </ShareIntentProvider> + </Providers> + </ShareIntentProvider> + </GestureHandlerRootView> ); } |
