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
show correct toast on restoring note
ammarahm-ed8ed095924021
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.jsindex 20a5d363a..3a6f61305 100644--- a/apps/mobile/src/components/ActionSheetComponent/index.js+++ b/apps/mobile/src/components/ActionSheetComponent/index.js@@ -227,9 +227,11 @@ export const ActionSheetComponent = ({dispatch({type: note.itemType});dispatch({type: Actions.FAVORITES});eSendEvent(refreshNotesPage);+ type = note.type === 'trash' ? note.itemType : note.type;ToastEvent.show(- note.type === 'note' ? 'Note restored' : 'Notebook restored',+ type === 'note' ? 'Note restored' : 'Notebook restored','success',+ 'global',);close();},