From fd4a99678cd222941cc66de5d7fcd5f7615f375d Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sun, 24 Nov 2024 16:03:45 +0000
Subject: 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
---
 apps/mobile/app/_layout.tsx | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

(limited to 'apps/mobile/app/_layout.tsx')

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>
   );
 }
-- 
cgit v1.2.3-70-g09d2

