summaryrefslogtreecommitdiff
path: root/modules/notifications/Notification.qml
diff options
context:
space:
mode:
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 1f21fc4..fb8d864 100644
--- a/modules/notifications/Notification.qml
+++ b/modules/notifications/Notification.qml
@@ -55,7 +55,7 @@ StyledRect {
if (Math.abs(root.x) < Config.notifs.sizes.width * Config.notifs.clearThreshold)
root.x = 0;
else
- root.modelData.popup = false;
+ root.modelData.notification.dismiss(); // TODO: change back to popup when notif dock impled
}
onPositionChanged: event => {
if (pressed) {
@@ -424,7 +424,7 @@ StyledRect {
onLinkActivated: link => {
Qt.openUrlExternally(link);
- root.modelData.popup = false;
+ root.modelData.notification.dismiss(); // TODO: change back to popup when notif dock impled
}
opacity: root.expanded ? 1 : 0