summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-23 15:38:28 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-23 15:38:28 +1000
commitcd10dbd8a90d53a62981f72d7e7f37a3c798ea57 (patch)
treef3c4c123095f7138897cb61333f0f48ebf047b21 /modules
parentbar: fill bluetooth device icons (diff)
downloadcaelestia-shell-cd10dbd8a90d53a62981f72d7e7f37a3c798ea57.tar.gz
caelestia-shell-cd10dbd8a90d53a62981f72d7e7f37a3c798ea57.tar.bz2
caelestia-shell-cd10dbd8a90d53a62981f72d7e7f37a3c798ea57.zip
notifs: dismiss notif on swipe
Fixes #141
Diffstat (limited to 'modules')
-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