Remove old timeout before adding a new timeout

This commit is contained in:
Erik Reider
2021-12-22 18:54:43 +01:00
parent e863a24c28
commit 354920612e

View File

@@ -314,6 +314,9 @@ namespace SwayNotificatonCenter {
}
public void add_noti_timeout () {
// Removes the previous timeout
remove_noti_timeout ();
uint timeout;
switch (param.urgency) {
case UrgencyLevels.LOW :