From 26b53e2ccc00befd182c4af05ab52fc439be7535 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Fri, 29 Mar 2024 14:17:36 +0000
Subject: mobile(android): Getting the android app ready for submission

---
 apps/mobile/lib/providers.tsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'apps/mobile/lib/providers.tsx')

diff --git a/apps/mobile/lib/providers.tsx b/apps/mobile/lib/providers.tsx
index 688ecd5d..ed04b9bf 100644
--- a/apps/mobile/lib/providers.tsx
+++ b/apps/mobile/lib/providers.tsx
@@ -1,4 +1,5 @@
 import { useEffect, useMemo } from "react";
+import { SafeAreaProvider } from "react-native-safe-area-context";
 import FullPageSpinner from "@/components/ui/FullPageSpinner";
 import { ToastProvider } from "@/components/ui/Toast";
 import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
@@ -60,8 +61,10 @@ export function Providers({ children }: { children: React.ReactNode }) {
   }
 
   return (
-    <TrpcProvider settings={settings}>
-      <ToastProvider>{children}</ToastProvider>
-    </TrpcProvider>
+    <SafeAreaProvider>
+      <TrpcProvider settings={settings}>
+        <ToastProvider>{children}</ToastProvider>
+      </TrpcProvider>
+    </SafeAreaProvider>
   );
 }
-- 
cgit v1.2.3-70-g09d2

