1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-06-24 10:14:52 +02:00

adjust device type enum names

This commit is contained in:
Kyle Spearrin 2018-07-09 09:06:45 -04:00
parent d5d13c7947
commit 76cac17377
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 8ac3450d9eee10c54bc35dd931a70bf82f97d0a5
Subproject commit 621a6d1524a4053725a54b9688364ea97958eefa

View File

@ -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);