change animation

This commit is contained in:
ammarahm-ed
2020-11-09 20:43:48 +05:00
parent ef4f80bd0a
commit c86a463dec
2 changed files with 2 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ export const NavigationStack = ({component = NavigatorStack}) => {
? Dimensions.get('window').width * 0.05
: DDS.isSmallTab
? '40%'
: Dimensions.get('window').width * 0.75,
: Dimensions.get('window').width * 0.65,
borderRightWidth: 0,
}}
edgeWidth={200}

View File

@@ -72,8 +72,7 @@ export const NavigatorStack = () => {
initialRouteName={settings.homepage}
screenOptions={{
headerShown: false,
cardStyleInterpolator:
DDS.isTab && !DDS.isSmallTab ? forFade : forSlide,
cardStyleInterpolator: forFade,
}}>
<Stack.Screen name="Home" component={Home} />
<Stack.Screen