From 32e244f908177a40bff1234fd433a329953ed20c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Tue, 11 Mar 2025 14:56:22 +0100 Subject: [PATCH] removed unsued service --- apps/desktop/src/main.ts | 3 ++- apps/desktop/src/main/tray.main.ts | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts index 4d64d24eb8d..20c632ec4ac 100644 --- a/apps/desktop/src/main.ts +++ b/apps/desktop/src/main.ts @@ -214,6 +214,7 @@ export class Main { this.i18nService, this.desktopSettingsService, this.messagingService, + this.biometricsService, ); messageSubject.asObservable().subscribe((message) => { @@ -243,7 +244,7 @@ export class Main { this.windowMain, this.i18nService, this.desktopSettingsService, - biometricStateService, + this.messagingService, this.biometricsService, ); diff --git a/apps/desktop/src/main/tray.main.ts b/apps/desktop/src/main/tray.main.ts index 6bf149b6370..b7ddefe6e1b 100644 --- a/apps/desktop/src/main/tray.main.ts +++ b/apps/desktop/src/main/tray.main.ts @@ -7,7 +7,7 @@ import { firstValueFrom } from "rxjs"; import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; import { MessagingService } from "@bitwarden/common/platform/abstractions/messaging.service"; -import { BiometricStateService, BiometricsService } from "@bitwarden/key-management"; +import { BiometricsService } from "@bitwarden/key-management"; import { DesktopSettingsService } from "../platform/services/desktop-settings.service"; import { isDev } from "../utils"; @@ -27,7 +27,6 @@ export class TrayMain { private i18nService: I18nService, private desktopSettingsService: DesktopSettingsService, private messagingService: MessagingService, - private biometricsStateService: BiometricStateService, private biometricService: BiometricsService, ) { if (process.platform === "win32") {