mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
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() {
|
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.lockOption = await this.storageService.get<number>(ConstantsService.lockOptionKey);
|
||||||
this.disableFavicons = await this.storageService.get<boolean>(ConstantsService.disableFaviconKey);
|
this.disableFavicons = await this.storageService.get<boolean>(ConstantsService.disableFaviconKey);
|
||||||
this.enableMinToTray = await this.storageService.get<boolean>(ElectronConstants.enableMinimizeToTrayKey);
|
this.enableMinToTray = await this.storageService.get<boolean>(ElectronConstants.enableMinimizeToTrayKey);
|
||||||
|
Loading…
Reference in New Issue
Block a user