mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Hide last message on spaces
This commit is contained in:
parent
f349b0cce0
commit
e6edb1daa3
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue