This commit is contained in:
2025-11-20 14:49:39 +07:00
parent 3cd2a53a0e
commit 58243330ea
4 changed files with 531 additions and 44 deletions

View File

@@ -19,7 +19,7 @@ export default function RootLayout() {
return (
<Stack>
{!isLoggedIn && <Stack.Screen name="index" options={{ title: "Đăng ký / Đăng nhập" }} />}
{!isLoggedIn && <Stack.Screen name="index" options={{ headerShown: false }} />}
{isLoggedIn && <Stack.Screen name="(tabs)" options={{ headerShown: false }} />}
</Stack>
);