mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Hide Open At Login Option On Windows Store Installs (#12112)
This commit is contained in:
@@ -334,7 +334,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<small id="startToTrayHelp" class="help-block">{{ startToTrayDescText }}</small>
|
<small id="startToTrayHelp" class="help-block">{{ startToTrayDescText }}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group" *ngIf="showOpenAtLoginOption">
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label for="openAtLogin">
|
<label for="openAtLogin">
|
||||||
<input
|
<input
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ export class SettingsComponent implements OnInit, OnDestroy {
|
|||||||
requireEnableTray = false;
|
requireEnableTray = false;
|
||||||
showDuckDuckGoIntegrationOption = false;
|
showDuckDuckGoIntegrationOption = false;
|
||||||
showSshAgentOption = false;
|
showSshAgentOption = false;
|
||||||
|
showOpenAtLoginOption = false;
|
||||||
isWindows: boolean;
|
isWindows: boolean;
|
||||||
isLinux: boolean;
|
isLinux: boolean;
|
||||||
|
|
||||||
@@ -166,6 +167,8 @@ export class SettingsComponent implements OnInit, OnDestroy {
|
|||||||
this.startToTrayText = this.i18nService.t(startToTrayKey);
|
this.startToTrayText = this.i18nService.t(startToTrayKey);
|
||||||
this.startToTrayDescText = this.i18nService.t(startToTrayKey + "Desc");
|
this.startToTrayDescText = this.i18nService.t(startToTrayKey + "Desc");
|
||||||
|
|
||||||
|
this.showOpenAtLoginOption = !ipc.platform.isWindowsStore;
|
||||||
|
|
||||||
// DuckDuckGo browser is only for macos initially
|
// DuckDuckGo browser is only for macos initially
|
||||||
this.showDuckDuckGoIntegrationOption = isMac;
|
this.showDuckDuckGoIntegrationOption = isMac;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user