mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
web: ask for password if backup encryption if off
This commit is contained in:
@@ -50,7 +50,7 @@ export const BackupExportSettings: SettingsGroup[] = [
|
||||
)
|
||||
useSettingStore.getState().toggleEncryptBackups();
|
||||
const verified =
|
||||
!useSettingStore.getState().encryptBackups ||
|
||||
useSettingStore.getState().encryptBackups ||
|
||||
(await verifyAccount());
|
||||
if (verified) await createBackup();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user