location show page

This commit is contained in:
Patryk
2025-04-09 20:37:52 +02:00
parent 25a1ed4f35
commit 16598e9217
4 changed files with 20 additions and 8 deletions

View File

@@ -10,8 +10,20 @@ MD3LightTheme;
export default function RootLayout() {
return (
<PaperProvider theme={theme} >
<Stack>
<Stack screenOptions={{
headerStyle: {
backgroundColor: theme.colors.primaryContainer,
borderBottomWidth:0
},
headerTintColor: theme.colors.primary,
}}>
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
<Stack.Screen
name="location/[id]"
options={{
title: "Lokalizacja",
headerBackTitle: "Powrót",
}}/>
</Stack>
</PaperProvider>
);