summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-11 04:43:37 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-11 04:43:37 +0100
commitca3198c1aabe2df31f7d0b5a6585be1112aab620 (patch)
tree1a6320c473c3390d5dfcdcf5ba7bcd6b99072566
parentImprove the layout and behaviour of topbar slightly (diff)
downloadnheko-ca3198c1aabe2df31f7d0b5a6585be1112aab620.tar.xz
Swap encryption and edit indicator
-rw-r--r--resources/qml/TimelineRow.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml

index c612479a..3a945062 100644 --- a/resources/qml/TimelineRow.qml +++ b/resources/qml/TimelineRow.qml
@@ -160,15 +160,6 @@ Item { eventId: r.eventId } - EncryptionIndicator { - visible: room.isEncrypted - encrypted: isEncrypted - trust: trustlevel - Layout.alignment: Qt.AlignRight | Qt.AlignTop - Layout.preferredHeight: 16 - Layout.preferredWidth: 16 - } - Image { visible: isEdited || eventId == chat.model.edit Layout.alignment: Qt.AlignRight | Qt.AlignTop @@ -188,6 +179,15 @@ Item { } + EncryptionIndicator { + visible: room.isEncrypted + encrypted: isEncrypted + trust: trustlevel + Layout.alignment: Qt.AlignRight | Qt.AlignTop + Layout.preferredHeight: 16 + Layout.preferredWidth: 16 + } + Label { Layout.alignment: Qt.AlignRight | Qt.AlignTop text: timestamp.toLocaleTimeString(Locale.ShortFormat)