Log notification grouping support
This commit is contained in:
parent
c2407c8906
commit
0121dc7a5a
1 changed files with 7 additions and 2 deletions
|
@ -38,6 +38,7 @@
|
|||
const isAudioNotificationEnabled =
|
||||
storage.get('audio-notification') || false;
|
||||
const isAudioNotificationSupported = Settings.isAudioNotificationSupported();
|
||||
const isNotificationGroupingSupported = Settings.isNotificationGroupingSupported();
|
||||
const numNotifications = this.length;
|
||||
const userSetting = this.getUserSetting();
|
||||
|
||||
|
@ -50,7 +51,12 @@
|
|||
userSetting,
|
||||
});
|
||||
|
||||
console.log('Update notifications:', status);
|
||||
console.log(
|
||||
'Update notifications:',
|
||||
Object.assign({}, status, {
|
||||
isNotificationGroupingSupported,
|
||||
})
|
||||
);
|
||||
|
||||
if (status.type !== 'ok') {
|
||||
if (status.shouldClearNotifications) {
|
||||
|
@ -100,7 +106,6 @@
|
|||
|
||||
drawAttention();
|
||||
|
||||
const isNotificationGroupingSupported = Settings.isNotificationGroupingSupported();
|
||||
const notification = new Notification(title, {
|
||||
body: message,
|
||||
icon: iconUrl,
|
||||
|
|
Loading…
Reference in a new issue