diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-23 15:38:28 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-23 15:38:28 +1000 |
| commit | cd10dbd8a90d53a62981f72d7e7f37a3c798ea57 (patch) | |
| tree | f3c4c123095f7138897cb61333f0f48ebf047b21 /modules/notifications/Notification.qml | |
| parent | bar: fill bluetooth device icons (diff) | |
| download | caelestia-shell-cd10dbd8a90d53a62981f72d7e7f37a3c798ea57.tar.gz caelestia-shell-cd10dbd8a90d53a62981f72d7e7f37a3c798ea57.tar.bz2 caelestia-shell-cd10dbd8a90d53a62981f72d7e7f37a3c798ea57.zip | |
notifs: dismiss notif on swipe
Fixes #141
Diffstat (limited to '')
| -rw-r--r-- | modules/notifications/Notification.qml | 4 |
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 |