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 restore items from trash
ammarahm-ed5745da65c02b
diff --git a/apps/mobile/src/components/SelectionHeader/index.js b/apps/mobile/src/components/SelectionHeader/index.jsindex ca0164dde..00420cf6b 100644--- a/apps/mobile/src/components/SelectionHeader/index.js+++ b/apps/mobile/src/components/SelectionHeader/index.js@@ -143,9 +143,9 @@ export const SelectionHeader = () => {selectedItemsList.forEach((item) => {noteIds.push(item.id);});-await db.trash.restore(...noteIds);-+ dispatch({type: Actions.NOTEBOOKS});+ dispatch({type: Actions.NOTES});dispatch({type: Actions.TRASH});dispatch({type: Actions.SELECTION_MODE, enabled: false});dispatch({type: Actions.CLEAR_SELECTION});