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
some fixes in ui for small devices
ammarahm-ed2bd0bb8cf47a
diff --git a/apps/mobile/src/services/Sync.js b/apps/mobile/src/services/Sync.jsindex f0200686b..83a718fe9 100644--- a/apps/mobile/src/services/Sync.js+++ b/apps/mobile/src/services/Sync.js@@ -5,7 +5,7 @@ import {db} from '../utils/DB';import {eOpenLoginDialog} from '../utils/Events';import {eSendEvent, ToastEvent} from './EventManager';-const run = async (context = 'global',forced) => {+const run = async (context = 'global', forced) => {updateEvent({type: Actions.SYNCING,syncing: true,@@ -14,19 +14,19 @@ const run = async (context = 'global',forced) => {try {let res = await doInBackground(async () => {try {- await db.sync(true,forced);+ await db.sync(true, forced);return true;} catch (e) {return e.message;}});- console.log(res);+if (res !== true) throw new Error(res);- console.log('here too');+ToastEvent.show({heading: 'Sync complete',type: 'success',- message: 'All your notes are encrypted and synced successfully!',+ message: 'All your notes are encrypted and synced!',context: context,});} catch (e) {diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.jsindex f19f3c297..601a12a88 100644--- a/apps/mobile/src/views/Settings/index.js+++ b/apps/mobile/src/views/Settings/index.js@@ -779,6 +779,9 @@ const SettingsUserSection = () => {eSendEvent(eOpenPremiumDialog);}}width="100%"+ style={{+ paddingHorizontal:0+ }}fontSize={SIZE.md}title={user.subscription.type === 6