Remove last notification before creating new one

pull/1/head
Daniel Gasienica 7 years ago
parent d9685178d2
commit d434262540

@ -128,6 +128,9 @@
drawAttention();
if (this.lastNotification) {
this.lastNotification.close();
}
const notification = new Notification(title, {
body: message,
icon: iconUrl,

Loading…
Cancel
Save