diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-06-18 14:10:45 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-06-25 11:34:19 +0200 |
commit | e6edb1daa34a7deeff9ed3c7bc2c50f7521820ed (patch) | |
tree | 8ea595dfffd27e6a4b96127a5d209eba8fcdf124 /resources | |
parent | Hide spaces by default, unless they are in the current space filter (diff) | |
download | nheko-e6edb1daa34a7deeff9ed3c7bc2c50f7521820ed.tar.xz |
Hide last message on spaces
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/RoomList.qml | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |