fix: Ensure inline reply functionality closes the notification correctly for resident notifications

This commit is contained in:
Hannes
2026-08-29 23:10:37 +02:00
parent 504c5ac484
commit 1bf0f0bfc1
2 changed files with 7 additions and 12 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.tracked ? notification.dismiss()
if (notification.tracked) {notification.dismiss()}
notificationListModel.remove(index)
} else {
Config.debug == "Notification" && console.log("[NotificationWindow " + Hyprland.monitorFor(screen).activeWorkspace.id + "]: Close: " + appName + " " + id + " - " + summary)