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