From a09a471d1e25d2e705006bd486bd881cdd14fb1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Mon, 28 Oct 2024 16:35:01 +0100 Subject: [PATCH] Only show fake popup to devs --- apps/desktop/src/main/tray.main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src/main/tray.main.ts b/apps/desktop/src/main/tray.main.ts index 346ac175d69..b3ccd022736 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 { DesktopSettingsService } from "../platform/services/desktop-settings.service"; -import { cleanUserAgent } from "../utils"; +import { cleanUserAgent, isDev } from "../utils"; import { WindowMain } from "./window.main"; @@ -47,6 +47,7 @@ export class TrayMain { click: () => this.toggleWindow(), }, { + visible: isDev(), label: "Fake Popup", click: () => this.fakePopup(), },