Change default android modal transition
这个提交包含在:
父节点
5166e0b879
当前提交
eef6f75414
共有 2 个文件被更改,包括 2 次插入 和 2 次删除
|
@ -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,
|
||||||
|
|
正在加载…
在新工单中引用