Compare commits

...

1 Commits

Author SHA1 Message Date
Ammar Ahmed
318c43ede9 mobile: fix backup file invalid 2024-05-04 14:30:50 +05:00

View File

@@ -285,10 +285,6 @@ 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");
}
await db.transaction(async () => {
let password;
let key;