Various improvements

This commit is contained in:
Isaac
2024-02-02 14:32:13 +01:00
parent 48531db09e
commit bd4a534097
66 changed files with 1502 additions and 370 deletions

View File

@@ -64,11 +64,11 @@ public class ChatMessageFileBubbleContentNode: ChatMessageBubbleContentNode {
}
}
self.interactiveFileNode.dateAndStatusNode.reactionSelected = { [weak self] _, value in
self.interactiveFileNode.dateAndStatusNode.reactionSelected = { [weak self] _, value, sourceView in
guard let strongSelf = self, let item = strongSelf.item else {
return
}
item.controllerInteraction.updateMessageReaction(item.message, .reaction(value), false)
item.controllerInteraction.updateMessageReaction(item.message, .reaction(value), false, sourceView)
}
self.interactiveFileNode.dateAndStatusNode.openReactionPreview = { [weak self] gesture, sourceNode, value in