From ca3198c1aabe2df31f7d0b5a6585be1112aab620 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Thu, 11 Nov 2021 04:43:37 +0100
Subject: [PATCH] Swap encryption and edit indicator

---
 resources/qml/TimelineRow.qml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index c612479a2..3a9450628 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)
-- 
GitLab