diff --git a/src/navigation/AppNavigator.tsx b/src/navigation/AppNavigator.tsx index b45e059..bb35b4d 100644 --- a/src/navigation/AppNavigator.tsx +++ b/src/navigation/AppNavigator.tsx @@ -1253,31 +1253,13 @@ const InnerNavigator = ({ initialRouteName }: { initialRouteName?: keyof RootSta headerShown: false, // Freeze non-focused stack screens to prevent background re-renders (e.g., SeriesContent behind player) freezeOnBlur: true, - // Use slide_from_right for consistency and smooth transitions - animation: Platform.OS === 'android' ? 'slide_from_right' : 'slide_from_right', + // Use default animation for Android (consistent non-slide transition), slide_from_right for iOS + animation: Platform.OS === 'android' ? 'default' : 'slide_from_right', animationDuration: Platform.OS === 'android' ? 250 : 300, // Ensure consistent background during transitions contentStyle: { backgroundColor: currentTheme.colors.darkBackground, }, - // Improve Android performance with custom interpolator - ...(Platform.OS === 'android' && { - cardStyleInterpolator: ({ current, layouts }: any) => { - return { - cardStyle: { - transform: [ - { - translateX: current.progress.interpolate({ - inputRange: [0, 1], - outputRange: [layouts.screen.width, 0], - }), - }, - ], - backgroundColor: currentTheme.colors.darkBackground, - }, - }; - }, - }), }} >