From 40ba8a5cde484b5978217312a3492b6e2ec4c19b Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Thu, 14 Oct 2021 19:05:02 +0200 Subject: [PATCH] Removed devepency on popupUtilsService as not needed for login via Tab --- src/background/main.background.ts | 2 +- src/background/runtime.background.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/background/main.background.ts b/src/background/main.background.ts index 2e78aad86a8..f3538028db1 100644 --- a/src/background/main.background.ts +++ b/src/background/main.background.ts @@ -240,7 +240,7 @@ export default class MainBackground { this.runtimeBackground = new RuntimeBackground(this, this.autofillService, this.cipherService, this.platformUtilsService as BrowserPlatformUtilsService, this.storageService, this.i18nService, this.notificationsService, this.systemService, this.vaultTimeoutService, - this.environmentService, this.policyService, this.userService, this.messagingService, this.folderService, this.popupUtilsService); + this.environmentService, this.policyService, this.userService, this.messagingService, this.folderService); this.nativeMessagingBackground = new NativeMessagingBackground(this.storageService, this.cryptoService, this.cryptoFunctionService, this.vaultTimeoutService, this.runtimeBackground, this.i18nService, this.userService, this.messagingService, this.appIdService, this.platformUtilsService); diff --git a/src/background/runtime.background.ts b/src/background/runtime.background.ts index bcee42cdce1..a46d174aac6 100644 --- a/src/background/runtime.background.ts +++ b/src/background/runtime.background.ts @@ -16,7 +16,6 @@ import { SystemService } from 'jslib-common/abstractions/system.service'; import { UserService } from 'jslib-common/abstractions/user.service'; import { VaultTimeoutService } from 'jslib-common/abstractions/vaultTimeout.service'; import { ConstantsService } from 'jslib-common/services/constants.service'; -import { PopupUtilsService } from '../popup/services/popup-utils.service'; import { AutofillService } from '../services/abstractions/autofill.service'; import BrowserPlatformUtilsService from '../services/browserPlatformUtils.service'; @@ -46,7 +45,7 @@ export default class RuntimeBackground { private systemService: SystemService, private vaultTimeoutService: VaultTimeoutService, private environmentService: EnvironmentService, private policyService: PolicyService, private userService: UserService, private messagingService: MessagingService, - private folderService: FolderService, private popupUtilsService: PopupUtilsService) { + private folderService: FolderService) { // onInstalled listener must be wired up before anything else, so we do it in the ctor chrome.runtime.onInstalled.addListener((details: any) => {