mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Enable text sharing only when copy is available
This commit is contained in:
parent
6781334fe1
commit
73ce7faf66
@ -1201,7 +1201,7 @@ public class ChatMessageTextBubbleContentNode: ChatMessageBubbleContentNode {
|
||||
|
||||
textSelectionNode.enableQuote = enableQuote
|
||||
textSelectionNode.enableTranslate = enableOtherActions
|
||||
textSelectionNode.enableShare = enableOtherActions
|
||||
textSelectionNode.enableShare = enableOtherActions && enableCopy
|
||||
textSelectionNode.menuSkipCoordnateConversion = !enableOtherActions
|
||||
self.textSelectionNode = textSelectionNode
|
||||
self.containerNode.addSubnode(textSelectionNode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user