From 3f9865bf77d82c8cd7061ded62cabcbca6841afb Mon Sep 17 00:00:00 2001 From: Alec Rippberger Date: Wed, 15 Jan 2025 15:56:48 -0600 Subject: [PATCH] Update notification title --- .../auth/login/desktop-login-approval-component.service.ts | 6 ++---- apps/desktop/src/locales/en/messages.json | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/desktop/src/auth/login/desktop-login-approval-component.service.ts b/apps/desktop/src/auth/login/desktop-login-approval-component.service.ts index db55c93ff62..a4ec94d5f17 100644 --- a/apps/desktop/src/auth/login/desktop-login-approval-component.service.ts +++ b/apps/desktop/src/auth/login/desktop-login-approval-component.service.ts @@ -1,5 +1,3 @@ -// FIXME: Update this file to be type safe and remove this and next line -// @ts-strict-ignore import { Injectable } from "@angular/core"; import { DefaultLoginApprovalComponentService } from "@bitwarden/auth/angular"; @@ -15,11 +13,11 @@ export class DesktopLoginApprovalComponentService super(); } - async showLoginRequestedAlertIfWindowNotVisible(email: string): Promise { + async showLoginRequestedAlertIfWindowNotVisible(email?: string): Promise { const isVisible = await ipc.platform.isWindowVisible(); if (!isVisible) { await ipc.auth.loginRequest( - this.i18nService.t("logInRequested"), + this.i18nService.t("accountAccessRequested"), this.i18nService.t("accountAccessRequestedConfirmAccessAttempt", email), this.i18nService.t("close"), ); diff --git a/apps/desktop/src/locales/en/messages.json b/apps/desktop/src/locales/en/messages.json index 5cf0b768371..ab8d7e60ca8 100644 --- a/apps/desktop/src/locales/en/messages.json +++ b/apps/desktop/src/locales/en/messages.json @@ -2855,6 +2855,9 @@ "logInRequested": { "message": "Log in requested" }, + "accountAccessRequested": { + "message": "Account access requested" + }, "creatingAccountOn": { "message": "Creating account on" },