forked from vergnet/application-amicale
Change default android modal transition
This commit is contained in:
parent
5166e0b879
commit
eef6f75414
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ import GameStartScreen from '../screens/Game/screens/GameStartScreen';
|
||||||
const modalTransition =
|
const modalTransition =
|
||||||
Platform.OS === 'ios'
|
Platform.OS === 'ios'
|
||||||
? TransitionPresets.ModalPresentationIOS
|
? TransitionPresets.ModalPresentationIOS
|
||||||
: TransitionPresets.ModalSlideFromBottomIOS;
|
: TransitionPresets.ModalTransition;
|
||||||
|
|
||||||
const defaultScreenOptions = {
|
const defaultScreenOptions = {
|
||||||
gestureEnabled: true,
|
gestureEnabled: true,
|
||||||
|
|
|
@ -33,7 +33,7 @@ import Mascot, {MASCOT_STYLE} from '../components/Mascot/Mascot';
|
||||||
const modalTransition =
|
const modalTransition =
|
||||||
Platform.OS === 'ios'
|
Platform.OS === 'ios'
|
||||||
? TransitionPresets.ModalPresentationIOS
|
? TransitionPresets.ModalPresentationIOS
|
||||||
: TransitionPresets.ModalSlideFromBottomIOS;
|
: TransitionPresets.ModalTransition;
|
||||||
|
|
||||||
const defaultScreenOptions = {
|
const defaultScreenOptions = {
|
||||||
gestureEnabled: true,
|
gestureEnabled: true,
|
||||||
|
|
Loading…
Reference in a new issue