mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +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 {
|
Label {
|
||||||
id: timestamp
|
id: timestamp
|
||||||
|
visible: !model.isInvite && !model.isSpace
|
||||||
|
width: visible ? 0 : undefined
|
||||||
|
|
||||||
Layout.alignment: Qt.AlignRight | Qt.AlignBottom
|
Layout.alignment: Qt.AlignRight | Qt.AlignBottom
|
||||||
font.pixelSize: fontMetrics.font.pixelSize * 0.9
|
font.pixelSize: fontMetrics.font.pixelSize * 0.9
|
||||||
|
@ -266,7 +268,7 @@ Page {
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
spacing: 0
|
spacing: 0
|
||||||
visible: !model.isInvite
|
visible: !model.isInvite && !model.isSpace
|
||||||
height: visible ? 0 : undefined
|
height: visible ? 0 : undefined
|
||||||
|
|
||||||
ElidedLabel {
|
ElidedLabel {
|
||||||
|
|
Loading…
Reference in a new issue