1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-13 10:14:18 +01:00

Enable Tray Icon on Linux

This commit is contained in:
Christoph Haas 2018-11-25 17:14:56 +01:00
parent 0ffc008188
commit eaf730e51c

View File

@ -75,7 +75,7 @@ export class SettingsComponent implements OnInit {
}
async ngOnInit() {
this.showMinToTray = this.platformUtilsService.getDevice() === DeviceType.WindowsDesktop;
this.showMinToTray = this.platformUtilsService.getDevice() === DeviceType.WindowsDesktop || this.platformUtilsService.getDevice() === DeviceType.LinuxDesktop;
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);