Show reactions on double-click
This commit is contained in:
parent
2ded14deda
commit
26772a48eb
1 changed files with 12 additions and 8 deletions
|
@ -132,7 +132,12 @@ ListItem {
|
||||||
|
|
||||||
if (messageListItem.messageReactions) {
|
if (messageListItem.messageReactions) {
|
||||||
messageListItem.messageReactions = null;
|
messageListItem.messageReactions = null;
|
||||||
} else if (messageListItem.chatReactions) {
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
onDoubleClicked: {
|
||||||
|
if (messageListItem.chatReactions) {
|
||||||
Debug.log("Using chat reactions")
|
Debug.log("Using chat reactions")
|
||||||
messageListItem.messageReactions = chatReactions
|
messageListItem.messageReactions = chatReactions
|
||||||
showItemCompletelyTimer.requestedIndex = index;
|
showItemCompletelyTimer.requestedIndex = index;
|
||||||
|
@ -142,7 +147,6 @@ ListItem {
|
||||||
tdLibWrapper.getMessageAvailableReactions(messageListItem.chatId, messageListItem.messageId);
|
tdLibWrapper.getMessageAvailableReactions(messageListItem.chatId, messageListItem.messageId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
onPressAndHold: {
|
onPressAndHold: {
|
||||||
if (openMenuOnPressAndHold) {
|
if (openMenuOnPressAndHold) {
|
||||||
|
|
Loading…
Reference in a new issue