init addScreen and change locations

This commit is contained in:
Patryk
2025-04-13 09:04:31 +02:00
parent ccf7ff2955
commit 6e8a235ed4
8 changed files with 169 additions and 96 deletions

View File

@@ -3,11 +3,12 @@ import { useColorScheme } from 'react-native';
import { PaperProvider} from 'react-native-paper';
import { MD3LightTheme, MD3DarkTheme } from 'react-native-paper';
const colorScheme = useColorScheme();
const theme = colorScheme === 'dark' ? MD3DarkTheme :
MD3LightTheme;
export default function RootLayout() {
const colorScheme = useColorScheme();
const theme = colorScheme === 'dark' ? MD3DarkTheme :
MD3LightTheme;
return (
<PaperProvider theme={theme} >
<Stack screenOptions={{