Misc updates

This commit is contained in:
Mo Bitar
2018-07-11 09:36:47 -05:00
parent b0850ed3e3
commit 7fc90ffd66
12 changed files with 62 additions and 55 deletions

View File

@@ -12,7 +12,7 @@ class ArchiveManager {
async downloadBackup(encrypted) {
// download in Standard File format
var keys, authParams, protocolVersion;
var keys, authParams;
if(encrypted) {
if(this.authManager.offline() && this.passcodeManager.hasPasscode()) {
keys = this.passcodeManager.keys();