From fdc53eee79fdb5033b9ab46e6969917f6cd59bb0 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sun, 1 Feb 2026 15:59:11 +0000
Subject: fix(mobile): fix some mobile warning after expo 54 upgrade

---
 apps/mobile/components/SplashScreenController.tsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 apps/mobile/components/SplashScreenController.tsx

(limited to 'apps/mobile/components/SplashScreenController.tsx')

diff --git a/apps/mobile/components/SplashScreenController.tsx b/apps/mobile/components/SplashScreenController.tsx
new file mode 100644
index 00000000..52c80415
--- /dev/null
+++ b/apps/mobile/components/SplashScreenController.tsx
@@ -0,0 +1,14 @@
+import { SplashScreen } from "expo-router";
+import useAppSettings from "@/lib/settings";
+
+SplashScreen.preventAutoHideAsync();
+
+export default function SplashScreenController() {
+  const { isLoading } = useAppSettings();
+
+  if (!isLoading) {
+    SplashScreen.hide();
+  }
+
+  return null;
+}
-- 
cgit v1.2.3-70-g09d2

