notifs: remove body if empty

This commit is contained in:
Soramane 2025-07-16 17:51:19 +10:00
parent d2b6d2d258
commit b8cb60b596

View file

@ -391,6 +391,7 @@ StyledRect {
color: Colours.palette.m3onSurfaceVariant color: Colours.palette.m3onSurfaceVariant
font.pointSize: Appearance.font.size.small font.pointSize: Appearance.font.size.small
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
height: text ? implicitHeight : 0
onLinkActivated: link => { onLinkActivated: link => {
if (!root.expanded) if (!root.expanded)