refactor: rename states to view controllers (#1060)

This commit is contained in:
Mo
2022-06-01 10:15:45 -05:00
committed by GitHub
parent 78f39ec85d
commit 54125cec21
177 changed files with 1518 additions and 1365 deletions

View File

@@ -13,7 +13,7 @@ import {
DesktopClientRequiresWebMethods,
DesktopDeviceInterface,
} from '@standardnotes/snjs'
import { WebAppEvent, WebApplication } from '@/UIModels/Application'
import { WebAppEvent, WebApplication } from '@/Application/Application'
export class DesktopManager
extends ApplicationService
@@ -155,10 +155,10 @@ export class DesktopManager
}
didBeginBackup() {
this.webApplication.getAppState().beganBackupDownload()
this.webApplication.getViewControllerManager().beganBackupDownload()
}
didFinishBackup(success: boolean) {
this.webApplication.getAppState().endedBackupDownload(success)
this.webApplication.getViewControllerManager().endedBackupDownload(success)
}
}