1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

show error when trying to enable browser integration on desktop (#2754)

This commit is contained in:
Jake Fink
2022-05-31 10:10:34 -04:00
committed by GitHub
parent 2f72286f66
commit f57f97fcdc
2 changed files with 17 additions and 6 deletions

View File

@@ -367,7 +367,7 @@ export class SettingsComponent implements OnInit {
if (process.platform === "darwin" && !this.platformUtilsService.isMacAppStore()) {
await this.platformUtilsService.showDialog(
this.i18nService.t("browserIntegrationMasOnlyDesc"),
this.i18nService.t("browserIntegrationMasOnlyTitle"),
this.i18nService.t("browserIntegrationUnsupportedTitle"),
this.i18nService.t("ok"),
null,
"warning"
@@ -378,7 +378,18 @@ export class SettingsComponent implements OnInit {
} else if (isWindowsStore()) {
await this.platformUtilsService.showDialog(
this.i18nService.t("browserIntegrationWindowsStoreDesc"),
this.i18nService.t("browserIntegrationWindowsStoreTitle"),
this.i18nService.t("browserIntegrationUnsupportedTitle"),
this.i18nService.t("ok"),
null,
"warning"
);
this.enableBrowserIntegration = false;
return;
} else if (process.platform == "linux") {
await this.platformUtilsService.showDialog(
this.i18nService.t("browserIntegrationLinuxDesc"),
this.i18nService.t("browserIntegrationUnsupportedTitle"),
this.i18nService.t("ok"),
null,
"warning"