diff --git a/src/nav/AppNavigator.js b/src/nav/AppNavigator.js index 5a6ed9adfc3..7d395ecb208 100644 --- a/src/nav/AppNavigator.js +++ b/src/nav/AppNavigator.js @@ -1,5 +1,6 @@ /* @flow strict-local */ -import { createStackNavigator } from 'react-navigation-stack'; +import { Platform } from 'react-native'; +import { createStackNavigator, TransitionPresets } from 'react-navigation-stack'; import AccountPickScreen from '../account/AccountPickScreen'; import RealmScreen from '../start/RealmScreen'; @@ -69,6 +70,12 @@ export default createStackNavigator( sharing: { screen: SharingScreen }, }, { + defaultNavigationOptions: { + ...Platform.select({ + android: TransitionPresets.FadeFromBottomAndroid, + ios: TransitionPresets.SlideFromRightIOS, + }), + }, initialRouteName: 'main', headerMode: 'none', },