mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-19 01:51:27 +01:00
Fix promise rejection on missing tray on Linux (#9265)
This commit is contained in:
parent
86d6be3187
commit
9d342f61cb
@ -140,7 +140,7 @@ export class TrayMain {
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateContextMenu() {
|
updateContextMenu() {
|
||||||
if (this.contextMenu != null && this.isLinux()) {
|
if (this.tray != null && this.contextMenu != null && this.isLinux()) {
|
||||||
this.tray.setContextMenu(this.contextMenu);
|
this.tray.setContextMenu(this.contextMenu);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user