mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-29 07:59:42 +01:00
no tray ctx menu for macos due to electorn bug
This commit is contained in:
parent
c71b9703f3
commit
f99b34d062
@ -52,7 +52,9 @@ export class TrayMain {
|
||||
menuItemOptions.splice(1, 0, ...additionalMenuItems);
|
||||
}
|
||||
|
||||
this.contextMenu = Menu.buildFromTemplate(menuItemOptions);
|
||||
if (process.platform !== 'darwin') {
|
||||
this.contextMenu = Menu.buildFromTemplate(menuItemOptions);
|
||||
}
|
||||
if (await this.storageService.get<boolean>(ElectronConstants.enableTrayKey)) {
|
||||
this.showTray();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user