hide reactions and replies when the message is a transaction
This commit is contained in:
parent
8be198f26e
commit
4e15002beb
|
@ -8,9 +8,10 @@ Rectangle {
|
|||
property bool parentIsHovered: false
|
||||
signal hoverChanged(bool hovered)
|
||||
property int containerMargin: 2
|
||||
property int contentType: 2
|
||||
|
||||
id: buttonsContainer
|
||||
visible: buttonsContainer.parentIsHovered || isMessageActive
|
||||
visible: (buttonsContainer.parentIsHovered || isMessageActive) && contentType != Constants.transactionType
|
||||
width: buttonRow.width + buttonsContainer.containerMargin * 2
|
||||
height: 36
|
||||
radius: Style.current.radius
|
||||
|
|
|
@ -29,6 +29,7 @@ Item {
|
|||
}
|
||||
|
||||
ChatButtons {
|
||||
contentType: root.contentType
|
||||
parentIsHovered: root.isHovered
|
||||
onHoverChanged: root.isHovered = hovered
|
||||
anchors.right: parent.right
|
||||
|
|
Loading…
Reference in New Issue