mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-27 00:01:11 +01:00
fix: refactor home screen stack
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user