Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix input not clearing on login

ammarahm-ed0632f6fc5582
diff --git a/apps/mobile/src/components/LoginDialog/index.js b/apps/mobile/src/components/LoginDialog/index.js
index 5e69cc761..d868b82b2 100644
--- a/apps/mobile/src/components/LoginDialog/index.js
+++ b/apps/mobile/src/components/LoginDialog/index.js
@@ -128,7 +128,7 @@ const LoginDialog = () => {
eSendEvent(eStartSyncer);
dispatch({type: Actions.ALL});
eSendEvent(refreshNotesPage);
- setVisible(false);
+ close()
ToastEvent.show(`Logged in as ${username}`, 'success', 'local');
} catch (e) {
ToastEvent.show(e.message, 'error', 'local');