From e6edb1daa34a7deeff9ed3c7bc2c50f7521820ed Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 18 Jun 2021 14:10:45 +0200 Subject: Hide last message on spaces --- resources/qml/RoomList.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'resources') diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml index 5845eb81..99e0ed41 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml @@ -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 { -- cgit 1.4.1