Browse Source

Change default android modal transition

Arnaud Vergnet 1 year ago
parent
commit
eef6f75414
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/navigation/MainNavigator.js
  2. 1
    1
      src/navigation/TabNavigator.js

+ 1
- 1
src/navigation/MainNavigator.js View File

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

+ 1
- 1
src/navigation/TabNavigator.js View File

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

Loading…
Cancel
Save