Merge branch 'develop' into feature/multiple-selection
This commit is contained in:
@@ -52,7 +52,7 @@ export class WebApplication extends SNApplication {
|
||||
private $compile: angular.ICompileService,
|
||||
scope: angular.IScope,
|
||||
defaultSyncServerHost: string,
|
||||
private bridge: Bridge,
|
||||
public bridge: Bridge,
|
||||
) {
|
||||
super(
|
||||
bridge.environment,
|
||||
@@ -168,6 +168,11 @@ export class WebApplication extends SNApplication {
|
||||
return angular.element(document.getElementById(this.identifier)!);
|
||||
}
|
||||
|
||||
async signOutAndDeleteLocalBackups(): Promise<void> {
|
||||
await this.bridge.deleteLocalBackups();
|
||||
return this.signOut();
|
||||
}
|
||||
|
||||
presentPasswordModal(callback: () => void) {
|
||||
const scope = this.scope!.$new(true) as InputModalScope;
|
||||
scope.type = "password";
|
||||
|
||||
Reference in New Issue
Block a user