From b0d9252784e0b029780ecb0be7945f6c702bbfd1 Mon Sep 17 00:00:00 2001 From: Daniel Riera Date: Fri, 20 Dec 2024 14:55:35 -0500 Subject: [PATCH] remove method, hard code string. --- .../overlay/inline-menu/pages/list/autofill-inline-menu-list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts b/apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts index d196cab1085..0829de72f94 100644 --- a/apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts +++ b/apps/browser/src/autofill/overlay/inline-menu/pages/list/autofill-inline-menu-list.ts @@ -1219,7 +1219,7 @@ export class AutofillInlineMenuList extends AutofillInlineMenuPageElement { const totpCodeSpan = document.createElement("span"); totpCodeSpan.classList.toggle("cipher-subtitle"); totpCodeSpan.classList.toggle("masked-totp", !!reprompt); - totpCodeSpan.textContent = reprompt ? "●".repeat(totpCode.length) : formattedTotpCode; + totpCodeSpan.textContent = reprompt ? "●●●●●●" : formattedTotpCode; totpCodeSpan.setAttribute("aria-label", this.getTranslation("totpCodeAria")); totpCodeSpan.setAttribute("data-testid", "totp-code"); containerElement.appendChild(totpCodeSpan);