Change default android modal transition

This commit is contained in:
Arnaud Vergnet 2020-08-06 14:16:22 +02:00
parent 5166e0b879
commit eef6f75414
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ import GameStartScreen from '../screens/Game/screens/GameStartScreen';
const modalTransition =
Platform.OS === 'ios'
? TransitionPresets.ModalPresentationIOS
: TransitionPresets.ModalSlideFromBottomIOS;
: TransitionPresets.ModalTransition;
const defaultScreenOptions = {
gestureEnabled: true,

View file

@ -33,7 +33,7 @@ import Mascot, {MASCOT_STYLE} from '../components/Mascot/Mascot';
const modalTransition =
Platform.OS === 'ios'
? TransitionPresets.ModalPresentationIOS
: TransitionPresets.ModalSlideFromBottomIOS;
: TransitionPresets.ModalTransition;
const defaultScreenOptions = {
gestureEnabled: true,