feat: add NotificationButton widget to bar to display notifications and work NotificationButton to a usable state

This commit is contained in:
Hannes
2026-08-27 21:50:50 +02:00
parent 3cd6807681
commit f2e8d8a144
6 changed files with 230 additions and 34 deletions
+4 -2
View File
@@ -58,9 +58,11 @@ PanelWindow {
notification: notificationData
onDismissed: function(notification) {
onDismissed: function(notification, dismiss) {
notificationListModel.remove(index)
notification.dismiss()
if (dismiss) {
notification.dismiss()
}
console.log("[Notification]: Dismissed Notification:", notification.appName, notification.id, notification.summary, notification.body)
}
}