fix: update notification close behavior

This commit is contained in:
Hannes
2026-08-29 23:03:03 +02:00
parent bd59a8e457
commit 504c5ac484
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ PanelWindow {
const summary = notification.summary
if (dismiss) {
Config.debug == "Notification" && console.log("[NotificationWindow " + Hyprland.monitorFor(screen).activeWorkspace.id + "]: Dissmiss: " + appName + " " + id + " - " + summary)
notification.dismiss()
notification.tracked ? notification.dismiss()
notificationListModel.remove(index)
} else {
Config.debug == "Notification" && console.log("[NotificationWindow " + Hyprland.monitorFor(screen).activeWorkspace.id + "]: Close: " + appName + " " + id + " - " + summary)