Remove last notification before creating new one
This commit is contained in:
parent
d9685178d2
commit
d434262540
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@
|
|||
|
||||
drawAttention();
|
||||
|
||||
if (this.lastNotification) {
|
||||
this.lastNotification.close();
|
||||
}
|
||||
const notification = new Notification(title, {
|
||||
body: message,
|
||||
icon: iconUrl,
|
||||
|
|
Loading…
Reference in a new issue