summaryrefslogtreecommitdiffstats
path: root/app/_layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/_layout.tsx')
-rw-r--r--app/_layout.tsx24
1 files changed, 0 insertions, 24 deletions
diff --git a/app/_layout.tsx b/app/_layout.tsx
deleted file mode 100644
index f518c9b..0000000
--- a/app/_layout.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native';
-import { Stack } from 'expo-router';
-import { StatusBar } from 'expo-status-bar';
-import 'react-native-reanimated';
-
-import { useColorScheme } from '@/hooks/use-color-scheme';
-
-export const unstable_settings = {
- anchor: '(tabs)',
-};
-
-export default function RootLayout() {
- const colorScheme = useColorScheme();
-
- return (
- <ThemeProvider value={colorScheme === 'dark' ? DarkTheme : DefaultTheme}>
- <Stack>
- <Stack.Screen name="(tabs)" options={{ headerShown: false }} />
- <Stack.Screen name="modal" options={{ presentation: 'modal', title: 'Modal' }} />
- </Stack>
- <StatusBar style="auto" />
- </ThemeProvider>
- );
-}