From 76cac173775745e5b350ec75bef0728b45a79db9 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 9 Jul 2018 09:06:45 -0400 Subject: [PATCH] adjust device type enum names --- jslib | 2 +- src/app/accounts/settings.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 8ac3450d..621a6d15 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 8ac3450d9eee10c54bc35dd931a70bf82f97d0a5 +Subproject commit 621a6d1524a4053725a54b9688364ea97958eefa diff --git a/src/app/accounts/settings.component.ts b/src/app/accounts/settings.component.ts index 62f92fa6..75445672 100644 --- a/src/app/accounts/settings.component.ts +++ b/src/app/accounts/settings.component.ts @@ -68,7 +68,7 @@ export class SettingsComponent implements OnInit { } async ngOnInit() { - this.showMinToTray = this.platformUtilsService.getDevice() === DeviceType.Windows; + this.showMinToTray = this.platformUtilsService.getDevice() === DeviceType.WindowsDesktop; this.lockOption = await this.storageService.get(ConstantsService.lockOptionKey); this.disableFavicons = await this.storageService.get(ConstantsService.disableFaviconKey); this.enableMinToTray = await this.storageService.get(ElectronConstants.enableMinimizeToTrayKey);