A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
update
ammarahm-ed75ed5c8bb020
diff --git a/apps/mobile/src/components/Menu/index.js b/apps/mobile/src/components/Menu/index.jsindex abbdbbcef..e8d5cba0b 100644--- a/apps/mobile/src/components/Menu/index.js+++ b/apps/mobile/src/components/Menu/index.js@@ -613,22 +613,22 @@ export const Menu = ({syncing: true,});try {- let user = await db.user.get();- dispatch({type: ACTIONS.USER, user: user});+ if (!user) {+ let u = await db.user.get();+ dispatch({type: ACTIONS.USER, user: u});+ }await db.sync();- dispatch({- type: ACTIONS.SYNCING,- syncing: false,- });ToastEvent.show('Sync Complete', 'success');} catch (e) {- dispatch({- type: ACTIONS.SYNCING,- syncing: false,- });ToastEvent.show(e.message, 'error');}+ let u = await db.user.get();+ dispatch({type: ACTIONS.USER, user: u});dispatch({type: ACTIONS.ALL});+ dispatch({+ type: ACTIONS.SYNCING,+ syncing: false,+ });}}style={{flexDirection: 'row',@@ -683,7 +683,6 @@ export const Menu = ({DDS.isTab? eSendEvent(eOpenLoginDialog): NavigationService.navigate('Login');-close();}}activeOpacity={opacity / 2}diff --git a/apps/mobile/src/views/Signup/index.js b/apps/mobile/src/views/Signup/index.jsindex b677e1768..561da1e6c 100644--- a/apps/mobile/src/views/Signup/index.js+++ b/apps/mobile/src/views/Signup/index.js@@ -392,9 +392,7 @@ export const Signup = ({navigation}) => {textAlign: 'right',marginHorizontal: 12,fontFamily: WEIGHT.regular,-textAlignVertical: 'bottom',-position: 'absolute',right: 5,top: 2.5,