diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-15 20:59:00 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-15 20:59:00 +1000 |
| commit | d1b7993f97f07b2b3f1a9400ec999858b9f0c89d (patch) | |
| tree | 87997ace58e92ac2f4168bf94621c74d45e6ed2e /modules/lock/NotifGroup.qml | |
| parent | notifs: use secondary container (diff) | |
| download | caelestia-shell-d1b7993f97f07b2b3f1a9400ec999858b9f0c89d.tar.gz caelestia-shell-d1b7993f97f07b2b3f1a9400ec999858b9f0c89d.tar.bz2 caelestia-shell-d1b7993f97f07b2b3f1a9400ec999858b9f0c89d.zip | |
lock/notifs: retain notifs
Diffstat (limited to 'modules/lock/NotifGroup.qml')
| -rw-r--r-- | modules/lock/NotifGroup.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/lock/NotifGroup.qml b/modules/lock/NotifGroup.qml index 9af3947..6ca42b5 100644 --- a/modules/lock/NotifGroup.qml +++ b/modules/lock/NotifGroup.qml @@ -31,6 +31,11 @@ StyledRect { radius: Appearance.rounding.normal color: root.urgency === "critical" ? Colours.palette.m3secondaryContainer : Colours.layer(Colours.palette.m3surfaceContainerHigh, 2) + RetainableLock { + object: root.notifs[0]?.notiftication ?? null + locked: true + } + RowLayout { id: content @@ -282,6 +287,11 @@ StyledRect { } color: root.urgency === "critical" ? Colours.palette.m3onSecondaryContainer : Colours.palette.m3onSurface + RetainableLock { + object: notifLine.modelData.notification + locked: true + } + TextMetrics { id: metrics |