Hide last message on spaces

This commit is contained in:
Nicolas Werner 2021-06-18 14:10:45 +02:00
parent f349b0cce0
commit e6edb1daa3
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -254,6 +254,8 @@ Page {
Label {
id: timestamp
visible: !model.isInvite && !model.isSpace
width: visible ? 0 : undefined
Layout.alignment: Qt.AlignRight | Qt.AlignBottom
font.pixelSize: fontMetrics.font.pixelSize * 0.9
@ -266,7 +268,7 @@ Page {
RowLayout {
Layout.fillWidth: true
spacing: 0
visible: !model.isInvite
visible: !model.isInvite && !model.isSpace
height: visible ? 0 : undefined
ElidedLabel {