diff --git a/modules/notifications/NotiCard.qml b/modules/notifications/NotiCard.qml index d10ac82..af43a56 100644 --- a/modules/notifications/NotiCard.qml +++ b/modules/notifications/NotiCard.qml @@ -20,8 +20,9 @@ WrapperRectangle { Timer { id: dismissTimer interval: 5000 + running: true repeat: false - onTriggered: root.notification.dismiss() + onTriggered: if (root.notification?.tracked) root.notification.expire() } child: WrapperMouseArea { id: mouseHandler @@ -85,7 +86,7 @@ WrapperRectangle { root.color = Colors.base01; } onClicked: { - root.notification ? root.notification.dismiss() : ''; + if (root.notification?.tracked) root.notification.dismiss(); } } }