From 391a02462cbb48ff6683479d2ca241334bd6e307 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 4 Jun 2025 19:59:36 +1000 Subject: feat: clear notifs shortcut --- modules/notifications/Notification.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/notifications/Notification.qml') diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index 039b519..c91111d 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -142,7 +142,7 @@ StyledRect { asynchronous: true anchors.centerIn: parent - visible: !root.modelData?.appIcon.includes("symbolic") + visible: !root.modelData?.appIcon.endsWith("symbolic") width: Math.round(parent.width * 0.6) height: Math.round(parent.width * 0.6) @@ -155,7 +155,7 @@ StyledRect { } Loader { - active: root.modelData?.appIcon.includes("symbolic") ?? false + active: root.modelData?.appIcon.endsWith("symbolic") ?? false asynchronous: true anchors.fill: icon -- cgit v1.2.3-freya