Remove old timeout before adding a new timeout
This commit is contained in:
@@ -314,6 +314,9 @@ namespace SwayNotificatonCenter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void add_noti_timeout () {
|
public void add_noti_timeout () {
|
||||||
|
// Removes the previous timeout
|
||||||
|
remove_noti_timeout ();
|
||||||
|
|
||||||
uint timeout;
|
uint timeout;
|
||||||
switch (param.urgency) {
|
switch (param.urgency) {
|
||||||
case UrgencyLevels.LOW :
|
case UrgencyLevels.LOW :
|
||||||
|
Reference in New Issue
Block a user