From b205819ba6ab1f72746e5b556809b597e77e2503 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Tue, 4 Oct 2022 00:38:59 +0200
Subject: [PATCH] Swap thread and edit button

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

diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index d7fb727ae..181b64ffd 100644
--- a/resources/qml/TimelineRow.qml
+++ b/resources/qml/TimelineRow.qml
@@ -230,20 +230,6 @@ AbstractButton {
                     anchors.verticalCenter: ts.verticalCenter
                 }
 
-                ImageButton {
-                    visible: threadId
-                    Layout.alignment: Qt.AlignRight | Qt.AlignTop
-                    height: parent.iconSize
-                    width: parent.iconSize
-                    image: ":/icons/icons/ui/thread.svg"
-                    buttonTextColor: TimelineManager.userColor(threadId, Nheko.colors.base)
-                    ToolTip.visible: hovered
-                    ToolTip.delay: Nheko.tooltipDelay
-                    ToolTip.text: qsTr("Part of a thread")
-                    anchors.verticalCenter: ts.verticalCenter
-                    onClicked: room.thread = threadId
-                }
-
                 Image {
                     visible: isEdited || eventId == room.edit
                     Layout.alignment: Qt.AlignRight | Qt.AlignTop
@@ -263,6 +249,20 @@ AbstractButton {
 
                 }
 
+                ImageButton {
+                    visible: threadId
+                    Layout.alignment: Qt.AlignRight | Qt.AlignTop
+                    height: parent.iconSize
+                    width: parent.iconSize
+                    image: ":/icons/icons/ui/thread.svg"
+                    buttonTextColor: TimelineManager.userColor(threadId, Nheko.colors.base)
+                    ToolTip.visible: hovered
+                    ToolTip.delay: Nheko.tooltipDelay
+                    ToolTip.text: qsTr("Part of a thread")
+                    anchors.verticalCenter: ts.verticalCenter
+                    onClicked: room.thread = threadId
+                }
+
                 EncryptionIndicator {
                     visible: room.isEncrypted
                     encrypted: isEncrypted
-- 
GitLab