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 b1389a7 commit c15c662Copy full SHA for c15c662
src/js/stores/notifications.js
@@ -44,10 +44,13 @@ var NotificationsStore = Reflux.createStore({
44
audio.play();
45
}
46
if (showNotifications) {
47
+ var title = (countNew == 1 ?
48
+ 'Gitify - ' + response[0].repository.full_name :
49
+ 'Gitify');
50
var body = (countNew == 1 ?
- 'You\'ve got a new notification' :
51
+ response[0].subject.title :
52
'You\'ve got ' + countNew + ' notifications.');
- var nativeNotification = new Notification('Gitify', {
53
+ var nativeNotification = new Notification(title, {
54
body: body
55
});
56
nativeNotification.onclick = function () {
0 commit comments