Skip to content

Commit

Permalink
Fix TypeError: Cannot read property 'setContextMenu' of undefined
Browse files Browse the repository at this point in the history
Fixes regression introduced with a1c72b5
Related to: #207
  • Loading branch information
pixtron committed Feb 17, 2020
1 parent e47f17e commit 84b6bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* New tray behaviour for linux #207
* Improve sync error messages displayed to users #216


## 1.2.1
**Maintainer**: balloon-team <[email protected]>\
**Date**: Thu Jan 09 10:44:43 CET 2020
Expand Down
2 changes: 1 addition & 1 deletion app/ui/tray/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ module.exports = function(env, clientConfig) {
}

function updateTrayMenu() {
if (TRAY_CLICK_SHOW_WINDOW) return;
if (TRAY_CLICK_SHOW_WINDOW || !tray) return;

const menu = menuFactory(loadMenu, clientConfig, showLogin, syncStatus)

Expand Down

0 comments on commit 84b6bbe

Please sign in to comment.