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: do not check for .nnbackup file in zip
Ammar Ahmed0951906cacbc
diff --git a/apps/mobile/app/components/sheets/restore-data/index.js b/apps/mobile/app/components/sheets/restore-data/index.jsindex 35b0f55a7..12a199e81 100644--- a/apps/mobile/app/components/sheets/restore-data/index.js+++ b/apps/mobile/app/components/sheets/restore-data/index.js@@ -285,9 +285,9 @@ const RestoreDataComponent = ({ close, setRestoring, restoring }) => {const backupFiles = await RNFetchBlob.fs.ls(zipOutputFolder);- if (backupFiles.findIndex((file) => file === ".nnbackup") === -1) {- throw new Error("Backup file is invalid");- }+ // if (backupFiles.findIndex((file) => file === ".nnbackup") === -1) {+ // throw new Error("Backup file is invalid");+ // }await db.transaction(async () => {let password;