fix(app): auto-hide splash screen on mount

This commit is contained in:
2026-08-12 10:11:06 +02:00
parent b648878414
commit f14c2e5827
+5
View File
@@ -1,5 +1,6 @@
import "./global.css";
import "./src/i18n";
import { useEffect } from "react";
import * as SplashScreen from "expo-splash-screen";
import { StatusBar } from "expo-status-bar";
import { NavigationContainer } from "@react-navigation/native";
@@ -30,6 +31,10 @@ function SystemLanguageListener() {
}
function App() {
useEffect(() => {
SplashScreen.hideAsync();
}, []);
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<DatabaseProvider>