Skip to content

Commit

Permalink
Hide Open At Login Option On Windows Store Installs (#12112)
Browse files Browse the repository at this point in the history
  • Loading branch information
justindbaur authored Dec 26, 2024
1 parent eb7b2cd commit b3155d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/desktop/src/app/accounts/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ <h2>
</div>
<small id="startToTrayHelp" class="help-block">{{ startToTrayDescText }}</small>
</div>
<div class="form-group">
<div class="form-group" *ngIf="showOpenAtLoginOption">
<div class="checkbox">
<label for="openAtLogin">
<input
Expand Down
3 changes: 3 additions & 0 deletions apps/desktop/src/app/accounts/settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class SettingsComponent implements OnInit, OnDestroy {
requireEnableTray = false;
showDuckDuckGoIntegrationOption = false;
showSshAgentOption = false;
showOpenAtLoginOption = false;
isWindows: boolean;
isLinux: boolean;

Expand Down Expand Up @@ -166,6 +167,8 @@ export class SettingsComponent implements OnInit, OnDestroy {
this.startToTrayText = this.i18nService.t(startToTrayKey);
this.startToTrayDescText = this.i18nService.t(startToTrayKey + "Desc");

this.showOpenAtLoginOption = !ipc.platform.isWindowsStore;

// DuckDuckGo browser is only for macos initially
this.showDuckDuckGoIntegrationOption = isMac;

Expand Down

0 comments on commit b3155d1

Please sign in to comment.