mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-28 12:25:21 +08:00
fix: change default screen change animation on web
This commit is contained in:
@@ -103,9 +103,9 @@ export const ScaleFromCenterAndroid: TransitionPreset = {
|
||||
export const DefaultTransition = Platform.select({
|
||||
ios: SlideFromRightIOS,
|
||||
default:
|
||||
Platform.OS === 'android' && Platform.Version < ANDROID_VERSION_PIE
|
||||
? FadeFromBottomAndroid
|
||||
: RevealFromBottomAndroid,
|
||||
Platform.OS === 'android' && Platform.Version >= ANDROID_VERSION_PIE
|
||||
? RevealFromBottomAndroid
|
||||
: FadeFromBottomAndroid,
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user