Skip to content

Commit

Permalink
nice
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen-g09 committed Mar 24, 2024
1 parent 3ffc9b5 commit 3a8d413
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,17 @@ function RootLayoutNav() {

return (
<BottomSheetModalProvider>
<ThemeProvider
value={colorScheme === "light" ? DefaultTheme : DefaultTheme}
>
<Stack initialRouteName='login'>
<Stack.Screen name="login" options={{ title: 'Login' }} />
<Stack.Screen name="register" options={{ title: 'Register' }} />
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
<Stack.Screen name="modal" options={{
title: 'Notifications',
presentation: 'modal' }} />
</Stack>
</ThemeProvider>
</BottomSheetModalProvider>
<ThemeProvider
value={colorScheme === "light" ? DefaultTheme : DefaultTheme}
>
<Stack>
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
<Stack.Screen name="modal" options={{
title: 'Notifications',
presentation: 'modal'
}} />
</Stack>
</ThemeProvider>
</BottomSheetModalProvider>
);
}

0 comments on commit 3a8d413

Please sign in to comment.