feat: add NotificationButton widget to bar to display notifications and work NotificationButton to a usable state
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user