diff options
Diffstat (limited to 'modules/notifications')
| -rw-r--r-- | modules/notifications/Notification.qml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index 73bfce2..d1426fa 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -162,15 +162,11 @@ StyledRect { width: Math.round(parent.width * 0.6) height: Math.round(parent.width * 0.6) - sourceComponent: IconImage { + sourceComponent: ColouredIcon { anchors.fill: parent source: Quickshell.iconPath(root.modelData.appIcon) - asynchronous: true - + colour: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3onError : root.modelData.urgency === NotificationUrgency.Low ? Colours.palette.m3onSurface : Colours.palette.m3onTertiaryContainer layer.enabled: root.modelData.appIcon.endsWith("symbolic") - layer.effect: Colouriser { - colorizationColor: root.modelData.urgency === NotificationUrgency.Critical ? Colours.palette.m3onError : root.modelData.urgency === NotificationUrgency.Low ? Colours.palette.m3onSurface : Colours.palette.m3onTertiaryContainer - } } } |