fix: refactor home screen stack

This commit is contained in:
Fredrik Burmester
2024-08-15 10:36:55 +02:00
parent 33eeebd287
commit c67b0ac6cd
7 changed files with 101 additions and 90 deletions

View File

@@ -20,7 +20,7 @@ import { useSettings } from "@/utils/atoms/settings";
SplashScreen.preventAutoHideAsync();
export const unstable_settings = {
initialRouteName: "(auth)/(tabs)/",
initialRouteName: "/index",
};
export default function RootLayout() {
@@ -80,12 +80,12 @@ function Layout() {
<JellyfinProvider>
<StatusBar style="light" backgroundColor="#000" />
<ThemeProvider value={DarkTheme}>
<Stack>
<Stack initialRouteName="/home">
<Stack.Screen
name="(auth)/(tabs)"
options={{
headerShown: false,
title: "Home",
title: "",
}}
/>
<Stack.Screen