Compare commits
1 Commits
d3d73c255e
...
v0.1.8
| Author | SHA1 | Date | |
|---|---|---|---|
| 6bd1dc8358 |
@@ -6,9 +6,6 @@
|
||||
"orientation": "portrait",
|
||||
"userInterfaceStyle": "dark",
|
||||
"backgroundColor": "#0f1117",
|
||||
"splash": {
|
||||
"backgroundColor": "#0f1117"
|
||||
},
|
||||
"scheme": "sheethappens",
|
||||
"android": {
|
||||
"adaptiveIcon": {
|
||||
|
||||
+1
-6
@@ -1,5 +1,5 @@
|
||||
import { useEffect } from "react";
|
||||
import { Stack, router, SplashScreen } from "expo-router";
|
||||
import { Stack, router } from "expo-router";
|
||||
import { StatusBar } from "expo-status-bar";
|
||||
import { GestureHandlerRootView } from "react-native-gesture-handler";
|
||||
import "../global.css";
|
||||
@@ -9,11 +9,6 @@ import { useSettings } from "@/hooks/useSettings";
|
||||
export default function RootLayout() {
|
||||
const { settings, ready } = useSettings();
|
||||
|
||||
useEffect(() => {
|
||||
if (!ready) return;
|
||||
SplashScreen.hideAsync();
|
||||
}, [ready]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!ready) return;
|
||||
if (!settings.onboardingDone) {
|
||||
|
||||
Reference in New Issue
Block a user