aboutsummaryrefslogtreecommitdiffstats
path: root/packages/mobile/app
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-11 11:05:36 +0000
committerMohamedBassem <me@mbassem.com>2024-03-11 11:05:36 +0000
commit999ed977a588b2c3b2055f18db4218d77882a1a1 (patch)
treebe926d82bcd495878956483ee7b21a172666566a /packages/mobile/app
parente774f1ad01d4755651a82ed100c26587774c8ee0 (diff)
downloadkarakeep-999ed977a588b2c3b2055f18db4218d77882a1a1.tar.zst
mobile: Add support for app settings
Diffstat (limited to 'packages/mobile/app')
-rw-r--r--packages/mobile/app/_layout.tsx12
1 files changed, 8 insertions, 4 deletions
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>
);
}