Skip to content
Snippets Groups Projects
Verified Commit b205819b authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Swap thread and edit button

parent d8993c14
No related branches found
No related tags found
No related merge requests found
Pipeline #3758 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment