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 crash during backup
Ammar Ahmed1fbd2efb9206
diff --git a/apps/mobile/app/services/backup.js b/apps/mobile/app/services/backup.jsindex 1db650e6c..eb22f15e5 100644--- a/apps/mobile/app/services/backup.js+++ b/apps/mobile/app/services/backup.js@@ -252,7 +252,7 @@ async function run(progress = false, context) {} catch (e) {ToastManager.error(e, "Backup failed", context || "global");- if (e.message.includes("android.net.Uri") && androidBackupDirectory) {+ if (e?.message?.includes("android.net.Uri") && androidBackupDirectory) {SettingsService.setProperty("backupDirectoryAndroid", null);return run(progress, context);}