fix login flow

This commit is contained in:
ammarahm-ed
2020-09-14 13:14:07 +05:00
parent facc4f2cfa
commit da35ee06ae
4 changed files with 28 additions and 25 deletions

View File

@@ -140,12 +140,7 @@ export const UserSection = ({noTextMode}) => {
) : (
<PressableButton
onPress={() => {
DDS.isTab
? eSendEvent(eOpenLoginDialog)
: NavigationService.navigate('Login', {
root: true,
});
sideMenuRef.current?.closeDrawer();
eSendEvent(eOpenLoginDialog);
}}
color={colors.shade}
selectedColor={colors.accent}