fix: change default screen change animation on web

This commit is contained in:
Satyajit Sahoo
2020-01-09 02:59:36 +01:00
parent 5470aeaca2
commit 37d26ca994

View File

@@ -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,
});
/**