mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 03:42:10 +03:00
simplified stack navigator
This commit is contained in:
parent
4d755668b5
commit
3477803df8
@ -61,38 +61,15 @@ export const StackNavigator = () => {
|
|||||||
<Stack.Screen name={ROUTES.SCREENS.REFER} component={ReferScreen} />
|
<Stack.Screen name={ROUTES.SCREENS.REFER} component={ReferScreen} />
|
||||||
<Stack.Screen name={ROUTES.SCREENS.COIN_DETAILS} component={CoinDetails} />
|
<Stack.Screen name={ROUTES.SCREENS.COIN_DETAILS} component={CoinDetails} />
|
||||||
<Stack.Screen name={ROUTES.SCREENS.EDIT_HISTORY} component={EditHistoryScreen} />
|
<Stack.Screen name={ROUTES.SCREENS.EDIT_HISTORY} component={EditHistoryScreen} />
|
||||||
<Stack.Screen
|
<Stack.Screen name={ROUTES.SCREENS.POST} component={Post} />
|
||||||
name={ROUTES.SCREENS.POST}
|
<Stack.Screen name={ROUTES.SCREENS.TRANSFER} component={Transfer} />
|
||||||
component={Post}
|
<Stack.Screen name={ROUTES.SCREENS.EDITOR} component={Editor} />
|
||||||
options={{
|
<Stack.Screen name={ROUTES.SCREENS.VOTERS} component={Voters} />
|
||||||
gestureEnabled: true,
|
<Stack.Screen name={ROUTES.SCREENS.FOLLOWS} component={Follows} />
|
||||||
gestureResponseDistance: { horizontal: 70 },
|
<Stack.Screen name={ROUTES.SCREENS.REBLOGS} component={Reblogs} />
|
||||||
}}
|
<Stack.Screen name={ROUTES.SCREENS.REGISTER} component={Register} />
|
||||||
/>
|
<Stack.Screen name={ROUTES.SCREENS.LOGIN} component={Login} />
|
||||||
<Stack.Screen name={ROUTES.SCREENS.TRANSFER} component={Transfer} options={{
|
|
||||||
...TransitionPresets.ModalPresentationIOS
|
|
||||||
}} />
|
|
||||||
<Stack.Screen name={ROUTES.SCREENS.EDITOR} component={Editor} options={{
|
|
||||||
...TransitionPresets.RevealFromBottomAndroid
|
|
||||||
}} />
|
|
||||||
<Stack.Screen name={ROUTES.SCREENS.VOTERS} component={Voters} options={{
|
|
||||||
...TransitionPresets.ModalSlideFromBottomIOS
|
|
||||||
}} />
|
|
||||||
<Stack.Screen name={ROUTES.SCREENS.FOLLOWS} component={Follows} options={{
|
|
||||||
...TransitionPresets.ModalSlideFromBottomIOS
|
|
||||||
}} />
|
|
||||||
|
|
||||||
<Stack.Screen name={ROUTES.SCREENS.REBLOGS} component={Reblogs} options={{
|
|
||||||
...TransitionPresets.ModalSlideFromBottomIOS
|
|
||||||
}} />
|
|
||||||
<Stack.Screen name={ROUTES.SCREENS.REGISTER} component={Register} options={{
|
|
||||||
...TransitionPresets.ModalSlideFromBottomIOS
|
|
||||||
}} />
|
|
||||||
<Stack.Screen name={ROUTES.SCREENS.LOGIN} component={Login} options={{
|
|
||||||
...TransitionPresets.ModalSlideFromBottomIOS
|
|
||||||
}} />
|
|
||||||
</Stack.Navigator>
|
</Stack.Navigator>
|
||||||
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user