Keep behaviour of no animation when navigating between different root stacks

This commit is contained in:
Johannes Klein
2025-12-11 14:40:17 +01:00
parent 910bfa69dd
commit 4a7980023a

View File

@@ -17,7 +17,7 @@ const RootStackNavigator = ( ) => {
const [onboardingShown] = useOnboardingShown( ); const [onboardingShown] = useOnboardingShown( );
return ( return (
<Stack.Navigator screenOptions={{ headerShown: false }}> <Stack.Navigator screenOptions={{ headerShown: false, animation: "none" }}>
{!onboardingShown {!onboardingShown
? ( ? (
<Stack.Screen <Stack.Screen