Skip to content
Snippets Groups Projects
Verified Commit e6edb1da authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Hide last message on spaces

parent f349b0cc
No related branches found
No related tags found
No related merge requests found
...@@ -254,6 +254,8 @@ Page { ...@@ -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 { ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment