chore: upgrade snjs

This commit is contained in:
Mo
2022-04-19 11:17:33 -05:00
parent d89a0dcdd1
commit aa72a8288c
4 changed files with 12 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ export class ArchiveManager {
public async downloadBackup(encrypted: boolean): Promise<void> {
const data = encrypted
? await this.application.createEncryptedBackupFile(true)
? await this.application.createEncryptedBackupFile()
: await this.application.createDecryptedBackupFile()
if (!data) {

View File

@@ -149,7 +149,7 @@ export class DesktopManager
async desktop_requestBackupFile(): Promise<string | undefined> {
const encrypted = this.application.hasProtectionSources()
const data = encrypted
? await this.application.createEncryptedBackupFile(false)
? await this.application.createEncryptedBackupFileForAutomatedDesktopBackups()
: await this.application.createDecryptedBackupFile()
if (data) {