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 undo delete note
ammarahm-ede66a5fcd942f
diff --git a/apps/mobile/src/utils/functions.js b/apps/mobile/src/utils/functions.jsindex 9ce69b726..2cf80af64 100644--- a/apps/mobile/src/utils/functions.js+++ b/apps/mobile/src/utils/functions.js@@ -5,7 +5,6 @@ import {eSendEvent, ToastEvent} from '../services/EventManager';import {db} from './DB';import {eClearEditor, eOnNewTopicAdded, eOpenPremiumDialog} from './Events';-export async function deleteItems(item) {if (item && item.dateCreated && history.selectedItemsList.length === 0) {history.selectedItemsList = [];@@ -46,7 +45,6 @@ export async function deleteItems(item) {let it = itemsCopy[i];let trashItem = trash.all.find((item) => item.itemId === it.id);await db.trash.restore(trashItem.id);- supdateEvent({type: it.type});}updateEvent({type: Actions.TRASH});