diff options
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> ); } |
