diff options
| author | Alberto Duarte Delgado <alberto@albertoduarte.com> | 2026-03-25 15:32:20 +0000 |
|---|---|---|
| committer | Alberto Duarte Delgado <alberto@albertoduarte.com> | 2026-03-25 15:32:20 +0000 |
| commit | 7809ccbba56be8c5377f94cf2d287a0e1521fdc1 (patch) | |
| tree | 1c590049df5546f141eeb3bf58ad5ea9d1e0fbf6 /app/_layout.tsx | |
| parent | d071a19fdeb0fc369e356004118f59a7fe4fed91 (diff) | |
Initial commit: App Oficina base project
Diffstat (limited to 'app/_layout.tsx')
| -rw-r--r-- | app/_layout.tsx | 24 |
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> - ); -} |