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