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