Skip to content

Commit

Permalink
Fixed regression on badge in OSX (closes bcalik#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico204 committed Nov 13, 2017
1 parent eff14dc commit 879bb8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@
whatsApp.window.on('page-title-updated', onlyOSX((event, title) => {
var count = title.match(/\((\d+)\)/);
count = count ? count[1] : '';
app.dock.setBadge(count);
log.info("Badge updated: " + count);
}));

Expand Down

0 comments on commit 879bb8c

Please sign in to comment.