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
always check for attachments
ammarahm-ed69bed520284f
diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.jsindex 5bca64498..b6ceb1db5 100644--- a/apps/mobile/src/views/Editor/Functions.js+++ b/apps/mobile/src/views/Editor/Functions.js@@ -321,7 +321,7 @@ export const _onMessage = async evt => {eSendEvent('editorScroll', message);break;case 'attachment_download':- filesystem.downloadAttachment(message.value,true);+ filesystem.downloadAttachment(message.value, true);break;case 'noteLoaded':tiny.call(EditorWebView, tiny.notLoading);@@ -735,9 +735,9 @@ const loadNoteInEditor = async (keepHistory = true) => {);} else {post('html', content.data);- if (id) {- db.attachments.downloadImages(id);- }+ }+ if (id) {+ db.attachments.downloadImages(id);}setColors();