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 2d3d002 commit 3fdf5aaCopy full SHA for 3fdf5aa
sounds/click.wav
20.5 KB
sounds/digi.wav
32.1 KB
src/js/stores/notifications.js
@@ -16,6 +16,10 @@ var NotificationsStore = Reflux.createStore({
16
updateTrayIcon: function (notifications) {
17
if (notifications.length > 0) {
18
ipc.sendChannel('update-icon', 'TrayActive');
19
+
20
+ var audio = new Audio('sounds/digi.wav');
21
+ audio.play();
22
23
} else {
24
ipc.sendChannel('update-icon', 'TrayIdle');
25
}
0 commit comments