We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c77f0a commit 8d0ed7bCopy full SHA for 8d0ed7b
src/js/stores/notifications.js
@@ -14,7 +14,7 @@ var NotificationsStore = Reflux.createStore({
14
},
15
16
updateTrayIcon: function (notifications) {
17
- if (notifications) {
+ if (notifications.length > 0) {
18
ipc.sendChannel('update-icon', "IconGreen");
19
} else {
20
ipc.sendChannel('update-icon', "IconPlain");
0 commit comments