Remove last notification before creating new one

This commit is contained in:
Daniel Gasienica 2018-05-10 16:42:28 -04:00
parent d9685178d2
commit d434262540

View file

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