diff options
Diffstat (limited to 'src/Navigation.tsx')
-rw-r--r-- | src/Navigation.tsx | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx index 23cf5f59d..18801bf64 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -353,11 +353,11 @@ function HomeTabNavigator() { return ( <HomeTab.Navigator screenOptions={{ - animation: isAndroid ? 'none' : undefined, + animation: isAndroid ? 'ios' : undefined, + animationDuration: 285, gestureEnabled: true, fullScreenGestureEnabled: true, headerShown: false, - animationDuration: 250, contentStyle: pal.view, }}> <HomeTab.Screen name="Home" getComponent={() => HomeScreen} /> @@ -371,11 +371,11 @@ function SearchTabNavigator() { return ( <SearchTab.Navigator screenOptions={{ - animation: isAndroid ? 'none' : undefined, + animation: isAndroid ? 'ios' : undefined, + animationDuration: 285, gestureEnabled: true, fullScreenGestureEnabled: true, headerShown: false, - animationDuration: 250, contentStyle: pal.view, }}> <SearchTab.Screen name="Search" getComponent={() => SearchScreen} /> @@ -389,11 +389,11 @@ function FeedsTabNavigator() { return ( <FeedsTab.Navigator screenOptions={{ - animation: isAndroid ? 'none' : undefined, + animation: isAndroid ? 'ios' : undefined, + animationDuration: 285, gestureEnabled: true, fullScreenGestureEnabled: true, headerShown: false, - animationDuration: 250, contentStyle: pal.view, }}> <FeedsTab.Screen name="Feeds" getComponent={() => FeedsScreen} /> @@ -407,11 +407,11 @@ function NotificationsTabNavigator() { return ( <NotificationsTab.Navigator screenOptions={{ - animation: isAndroid ? 'none' : undefined, + animation: isAndroid ? 'ios' : undefined, + animationDuration: 285, gestureEnabled: true, fullScreenGestureEnabled: true, headerShown: false, - animationDuration: 250, contentStyle: pal.view, }}> <NotificationsTab.Screen @@ -429,11 +429,11 @@ function MyProfileTabNavigator() { return ( <MyProfileTab.Navigator screenOptions={{ - animation: isAndroid ? 'none' : undefined, + animation: isAndroid ? 'ios' : undefined, + animationDuration: 285, gestureEnabled: true, fullScreenGestureEnabled: true, headerShown: false, - animationDuration: 250, contentStyle: pal.view, }}> <MyProfileTab.Screen @@ -454,11 +454,11 @@ function MessagesTabNavigator() { return ( <MessagesTab.Navigator screenOptions={{ - animation: isAndroid ? 'none' : undefined, + animation: isAndroid ? 'ios' : undefined, + animationDuration: 285, gestureEnabled: true, fullScreenGestureEnabled: true, headerShown: false, - animationDuration: 250, contentStyle: pal.view, }}> <MessagesTab.Screen @@ -488,10 +488,11 @@ const FlatNavigator = () => { <Flat.Navigator screenListeners={screenListeners} screenOptions={{ + animation: isAndroid ? 'ios' : undefined, + animationDuration: 285, gestureEnabled: true, fullScreenGestureEnabled: true, headerShown: false, - animationDuration: 250, contentStyle: pal.view, }}> <Flat.Screen |