1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

disconnect and connect on idle states

This commit is contained in:
Kyle Spearrin
2018-08-22 21:10:23 -04:00
parent cde6697721
commit 22c991f655
3 changed files with 39 additions and 8 deletions

View File

@@ -180,7 +180,7 @@ export default class MainBackground {
if (!this.isSafari) {
this.contextMenusBackground = new ContextMenusBackground(this, this.cipherService,
this.passwordGenerationService, this.analytics, this.platformUtilsService);
this.idleBackground = new IdleBackground(this, this.lockService, this.storageService);
this.idleBackground = new IdleBackground(this.lockService, this.storageService, this.notificationsService);
this.webRequestBackground = new WebRequestBackground(this.platformUtilsService, this.cipherService);
this.windowsBackground = new WindowsBackground(this);
}