From 999ed977a588b2c3b2055f18db4218d77882a1a1 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Mon, 11 Mar 2024 11:05:36 +0000
Subject: mobile: Add support for app settings

---
 packages/mobile/app/_layout.tsx | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

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

diff --git a/packages/mobile/app/_layout.tsx b/packages/mobile/app/_layout.tsx
index c578d07f..b37585e2 100644
--- a/packages/mobile/app/_layout.tsx
+++ b/packages/mobile/app/_layout.tsx
@@ -7,6 +7,8 @@ import { StatusBar } from "expo-status-bar";
 import { useEffect } from "react";
 import { View } from "react-native";
 
+import { Providers } from "@/lib/providers";
+
 export default function RootLayout() {
   const router = useRouter();
   const { hasShareIntent, shareIntent, resetShareIntent } = useShareIntent({
@@ -23,9 +25,11 @@ export default function RootLayout() {
     }
   }, [hasShareIntent]);
   return (
-    <View className="h-full w-full bg-white">
-      <Slot />
-      <StatusBar style="auto" />
-    </View>
+    <Providers>
+      <View className="h-full w-full bg-white">
+        <Slot />
+        <StatusBar style="auto" />
+      </View>
+    </Providers>
   );
 }
-- 
cgit v1.2.3-70-g09d2

