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
mobile: fix reset select does not reset selected topics
ammarahm-ed47f919cb6107
diff --git a/apps/mobile/app/components/sheets/add-to/index.js b/apps/mobile/app/components/sheets/add-to/index.jsindex 21407f313..e8f08abb0 100644--- a/apps/mobile/app/components/sheets/add-to/index.js+++ b/apps/mobile/app/components/sheets/add-to/index.js@@ -148,6 +148,8 @@ const MoveNoteSheet = ({ note, actionSheetRef }) => {: "deselected";if (itemState[notebook.id] === "selected") {contextValue.select(notebook);+ } else {+ contextValue.deselect(notebook);}for (let topic of notebook.topics) {itemState[topic.id] = state@@ -160,6 +162,8 @@ const MoveNoteSheet = ({ note, actionSheetRef }) => {: "deselected";if (itemState[topic.id] === "selected") {contextValue.select(topic);+ } else {+ contextValue.deselect(topic);}}}