mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-31 10:20:15 +00:00
[WIP] Quotes
This commit is contained in:
@@ -1803,8 +1803,9 @@ final class ChatMessageInteractiveFileNode: ASDisplayNode {
|
||||
guard let strongSelf = self, let item = strongSelf.arguments else {
|
||||
return
|
||||
}
|
||||
item.controllerInteraction.performTextSelectionAction(true, text, action)
|
||||
item.controllerInteraction.performTextSelectionAction(item.message, true, text, action)
|
||||
})
|
||||
textSelectionNode.enableQuote = item.controllerInteraction.canSetupReply(item.message) == .reply
|
||||
self.textSelectionNode = textSelectionNode
|
||||
self.textClippingNode.addSubnode(textSelectionNode)
|
||||
self.textClippingNode.insertSubnode(textSelectionNode.highlightAreaNode, belowSubnode: self.textNode)
|
||||
|
||||
Reference in New Issue
Block a user