1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

add taskService.listenForTaskNotifications to init service (#14985)

This commit is contained in:
Jordan Aasen
2025-06-02 10:47:32 -07:00
committed by GitHub
parent f77bd8c554
commit 6107d7d3da

View File

@@ -19,6 +19,7 @@ import { NotificationsService } from "@bitwarden/common/platform/notifications";
import { ContainerService } from "@bitwarden/common/platform/services/container.service";
import { UserAutoUnlockKeyService } from "@bitwarden/common/platform/services/user-auto-unlock-key.service";
import { EventUploadService } from "@bitwarden/common/services/event/event-upload.service";
import { TaskService } from "@bitwarden/common/vault/tasks";
import { KeyService as KeyServiceAbstraction } from "@bitwarden/key-management";
import { VersionService } from "../platform/version.service";
@@ -43,6 +44,7 @@ export class InitService {
private sdkLoadService: SdkLoadService,
private configService: ConfigService,
private bulkEncryptService: BulkEncryptService,
private taskService: TaskService,
@Inject(DOCUMENT) private document: Document,
) {}
@@ -75,6 +77,7 @@ export class InitService {
this.themingService.applyThemeChangesTo(this.document);
this.versionService.applyVersionToWindow();
void this.ipcService.init();
this.taskService.listenForTaskNotifications();
const containerService = new ContainerService(this.keyService, this.encryptService);
containerService.attachToGlobal(this.win);