notifications: destroy wrapper object when quickshell's notif is destroyed (#1465)

This commit is contained in:
end-4
2025-07-18 16:09:35 +07:00
parent 40f2e0b6a7
commit bab166baea
3 changed files with 30 additions and 17 deletions
@@ -53,7 +53,7 @@ Item { // Notification group area
onFinished: () => {
root.notifications.forEach((notif) => {
Qt.callLater(() => {
Notifications.discardNotification(notif.id);
Notifications.discardNotification(notif.notificationId);
});
});
}