chore: this should work whenever expo-router gets a release

This commit is contained in:
Adrian Castro
2024-02-14 18:55:30 +01:00
parent 82a3f431fa
commit 5d48b6a7c4

View File

@@ -74,6 +74,9 @@ function RootLayoutNav() {
screenOptions={{ screenOptions={{
autoHideHomeIndicator: true, autoHideHomeIndicator: true,
gestureEnabled: true, gestureEnabled: true,
animation: "default",
animationTypeForReplace: "push",
presentation: "card",
headerShown: false, headerShown: false,
contentStyle: { contentStyle: {
backgroundColor: Colors.background, backgroundColor: Colors.background,
@@ -82,7 +85,14 @@ function RootLayoutNav() {
> >
<Stack.Screen <Stack.Screen
name="(tabs)" name="(tabs)"
options={{ headerShown: false, autoHideHomeIndicator: true }} options={{
headerShown: false,
autoHideHomeIndicator: true,
gestureEnabled: true,
animation: "default",
animationTypeForReplace: "push",
presentation: "card",
}}
/> />
</Stack> </Stack>
</ThemeProvider> </ThemeProvider>