Update with latest SNJS changes

This commit is contained in:
Mo Bitar
2020-03-01 16:12:29 -06:00
parent fc88ab9b2b
commit 444c18bbde
27 changed files with 192 additions and 104131 deletions

View File

@@ -36,7 +36,7 @@ export class ArchiveManager {
});
};
if (await this.application.privilegesManager.actionRequiresPrivilege(ProtectedActions.ManageBackups)) {
if (await this.application.privilegesService.actionRequiresPrivilege(ProtectedActions.ManageBackups)) {
this.godService.presentPrivilegesModal(ProtectedActions.ManageBackups, () => {
run();
});
@@ -58,7 +58,7 @@ export class ArchiveManager {
/** @private */
async itemsData(items, intent) {
const data = await this.application.protocolService.createBackupFile({
const data = await this.application.createBackupFile({
subItems: items,
intent: intent
});