summaryrefslogtreecommitdiff
path: root/modules/notifications/Notification.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-04 19:59:36 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-04 19:59:36 +1000
commit391a02462cbb48ff6683479d2ca241334bd6e307 (patch)
treeaa28c3ee6f7ed28a7a175f737ed581d712e2549f /modules/notifications/Notification.qml
parentinternal: use panelwindow (diff)
downloadcaelestia-shell-391a02462cbb48ff6683479d2ca241334bd6e307.tar.gz
caelestia-shell-391a02462cbb48ff6683479d2ca241334bd6e307.tar.bz2
caelestia-shell-391a02462cbb48ff6683479d2ca241334bd6e307.zip
feat: clear notifs shortcut
Diffstat (limited to 'modules/notifications/Notification.qml')
-rw-r--r--modules/notifications/Notification.qml4
1 files changed, 2 insertions, 2 deletions
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