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 unpin note
ammarahm-ed1de5ca0aca13
diff --git a/apps/mobile/src/components/SelectionWrapper/index.js b/apps/mobile/src/components/SelectionWrapper/index.jsindex f03bbe769..9f66dc168 100644--- a/apps/mobile/src/components/SelectionWrapper/index.js+++ b/apps/mobile/src/components/SelectionWrapper/index.js@@ -40,11 +40,11 @@ const SelectionWrapper = ({let func = async () => {if (!item.id) return;if (item.type === 'note') {- await db.notes.note(note.id).pin();+ await db.notes.note(item.id).pin();dispatch({type: ACTIONS.PINNED});dispatch({type: ACTIONS.NOTES});} else {- await db.notebooks.notebook(note.id).pin();+ await db.notebooks.notebook(item.id).pin();dispatch({type: ACTIONS.PINNED});dispatch({type: ACTIONS.NOTEBOOKS});}