mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Remove last notification before creating new one
This commit is contained in:
@@ -128,6 +128,9 @@
|
||||
|
||||
drawAttention();
|
||||
|
||||
if (this.lastNotification) {
|
||||
this.lastNotification.close();
|
||||
}
|
||||
const notification = new Notification(title, {
|
||||
body: message,
|
||||
icon: iconUrl,
|
||||
|
||||
Reference in New Issue
Block a user