diff --git a/app/_layout.tsx b/app/_layout.tsx index 845f03c..c5f0b75 100644 --- a/app/_layout.tsx +++ b/app/_layout.tsx @@ -10,7 +10,7 @@ import themes from '@/assets/themes' import log from "@/util/log" // Prevent the splash screen from auto-hiding before asset loading is complete. -SplashScreen.preventAutoHideAsync(); +void SplashScreen.preventAutoHideAsync(); export default function RootLayout() { return ( @@ -34,7 +34,7 @@ function InnerRootLayout() { }); useEffect(() => { if (loaded) { - SplashScreen.hideAsync(); + void SplashScreen.hideAsync(); } }, [loaded]); diff --git a/context/UserContext.tsx b/context/UserContext.tsx index bc94561..151f63b 100644 --- a/context/UserContext.tsx +++ b/context/UserContext.tsx @@ -71,7 +71,7 @@ export const UserProvider: React.FC = ({ children }) => { } }; - loadUserData(); + void loadUserData(); }, []); useEffect(() => { @@ -90,14 +90,14 @@ export const UserProvider: React.FC = ({ children }) => { } }; - saveUserData(); + void saveUserData(); }, [userDataChanged]); useEffect(() => { const handleAppStateChange = (nextAppState: string) => { if (appState.match(/inactive|background/) && nextAppState === "active") { if (!isLoading) { - fetchCurrentStatus(); + void fetchCurrentStatus(); } else { log.debug("Waiting for loading to complete before fetching status..."); }