1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

[PM-3677] Remove ipcRenderer from desktop utils (#6477)

* [PM-3677] Remove ipcRenderer from utils

* Fix typo
This commit is contained in:
Daniel García
2023-11-09 12:48:18 +01:00
committed by GitHub
parent 929a08339f
commit 7f7700f5f5
5 changed files with 17 additions and 10 deletions

View File

@@ -8,8 +8,6 @@ import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.servic
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
import { Utils } from "@bitwarden/common/platform/misc/utils";
import { getCookie } from "../utils";
const BroadcasterSubscriptionId = "AccessibilityCookieComponent";
@Component({
@@ -55,7 +53,7 @@ export class AccessibilityCookieComponent {
async checkForCookie() {
this.hCaptchaWindow.close();
const [cookie] = await getCookie("https://www.hcaptcha.com/", "hc_accessibility");
const [cookie] = await ipc.auth.getHcaptchaAccessibilityCookie();
if (cookie) {
this.onCookieSavedSuccess();
} else {