Fix message long press

Add a tap handler so that long press events in the text of a message can be captured. This should make mobile menus work on text messages again.
This commit is contained in:
James Graham
2023-08-06 17:08:46 +00:00
parent 97903a7cb0
commit c7c892c51c

View File

@@ -50,6 +50,12 @@ TimelineContainer {
isReply: root.isReply
textMessage: root.display
TapHandler {
enabled: !label.hoveredLink
acceptedButtons: Qt.LeftButton
onLongPressed: root.openContextMenu()
}
}
Loader {
Layout.fillWidth: true