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
fix: rename methods
ammarahm-ed489422756b1a
diff --git a/apps/mobile/src/components/AttachmentDialog/index.js b/apps/mobile/src/components/AttachmentDialog/index.jsindex 5d956be8a..692a90c54 100644--- a/apps/mobile/src/components/AttachmentDialog/index.js+++ b/apps/mobile/src/components/AttachmentDialog/index.js@@ -45,7 +45,7 @@ export const AttachmentDialog = () => {const open = item => {setNote(item);setVisible(true);- let _attachments = db.attachments.get(item.id);+ let _attachments = db.attachments.ofNote(item.id)setAttachments(_attachments);};diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.jsindex 3c25ca8dc..59ddd9174 100644--- a/apps/mobile/src/views/Editor/Functions.js+++ b/apps/mobile/src/views/Editor/Functions.js@@ -705,7 +705,7 @@ export async function updateNoteInEditor() {tiny.call(EditorWebView, tiny.notLoading);}, 50);if (id) {- db.attachments.download(id);+ db.attachments.downloadImages(id);}tiny.call(EditorWebView, tiny.notLoading);}@@ -732,7 +732,7 @@ const loadNoteInEditor = async (keepHistory = true) => {} else {post('html', content.data);if (id) {- db.attachments.download(id);+ db.attachments.downloadImages(id);}}