Show reactions on double-click

This commit is contained in:
Sebastian Wolf 2023-11-21 21:55:08 +01:00 committed by Denis Fedoseev
parent 2ded14deda
commit 26772a48eb

View file

@ -132,7 +132,12 @@ ListItem {
if (messageListItem.messageReactions) {
messageListItem.messageReactions = null;
} else if (messageListItem.chatReactions) {
}
}
}
onDoubleClicked: {
if (messageListItem.chatReactions) {
Debug.log("Using chat reactions")
messageListItem.messageReactions = chatReactions
showItemCompletelyTimer.requestedIndex = index;
@ -142,7 +147,6 @@ ListItem {
tdLibWrapper.getMessageAvailableReactions(messageListItem.chatId, messageListItem.messageId);
}
}
}
onPressAndHold: {
if (openMenuOnPressAndHold) {