wip
This commit is contained in:
parent
74dc874110
commit
1c49074ea2
2 changed files with 22 additions and 14 deletions
|
|
@ -88,16 +88,6 @@ self.addEventListener('push', ev => {
|
|||
}
|
||||
|
||||
createEmptyNotification();
|
||||
setTimeout(async () => {
|
||||
for (const n of
|
||||
[
|
||||
...(await self.registration.getNotifications({ tag: 'user_visible_auto_notification' })),
|
||||
...(await self.registration.getNotifications({ tag: 'read_notification' }))
|
||||
]
|
||||
) {
|
||||
n.close();
|
||||
}
|
||||
}, 1000);
|
||||
}));
|
||||
});
|
||||
//#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue