lock/notifs: retain notifs
This commit is contained in:
parent
fa39593ca4
commit
d1b7993f97
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue