adjust device type enum names
This commit is contained in:
parent
d5d13c7947
commit
76cac17377
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit 8ac3450d9eee10c54bc35dd931a70bf82f97d0a5
|
||||
Subproject commit 621a6d1524a4053725a54b9688364ea97958eefa
|
|
@ -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<number>(ConstantsService.lockOptionKey);
|
||||
this.disableFavicons = await this.storageService.get<boolean>(ConstantsService.disableFaviconKey);
|
||||
this.enableMinToTray = await this.storageService.get<boolean>(ElectronConstants.enableMinimizeToTrayKey);
|
||||
|
|
Loading…
Reference in New Issue