mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
fix login flow
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user