|
@@ -30,15 +30,16 @@ import ClubAboutScreen from "../screens/Amicale/Clubs/ClubAboutScreen";
|
30
|
30
|
import ClubDisplayScreen from "../screens/Amicale/Clubs/ClubDisplayScreen";
|
31
|
31
|
import {createScreenCollapsibleStack, getWebsiteStack} from "../utils/CollapsibleUtils";
|
32
|
32
|
|
|
33
|
+const modalTransition = Platform.OS === 'ios' ? TransitionPresets.ModalPresentationIOS : TransitionPresets.ModalSlideFromBottomIOS;
|
|
34
|
+
|
|
35
|
+const screenTransition = TransitionPresets.SlideFromRightIOS;
|
|
36
|
+
|
33
|
37
|
const defaultScreenOptions = {
|
34
|
38
|
gestureEnabled: true,
|
35
|
39
|
cardOverlayEnabled: true,
|
36
|
|
- ...TransitionPresets.SlideFromRightIOS,
|
|
40
|
+ ...screenTransition,
|
37
|
41
|
};
|
38
|
42
|
|
39
|
|
-const modalTransition = Platform.OS === 'ios' ? TransitionPresets.ModalPresentationIOS : TransitionPresets.ModalSlideFromBottomIOS;
|
40
|
|
-
|
41
|
|
-const screenTransition = Platform.OS === 'ios' ? TransitionPresets.SlideFromRightIOS : TransitionPresets.ScaleFromCenterAndroid;
|
42
|
43
|
|
43
|
44
|
const MainStack = createStackNavigator();
|
44
|
45
|
|