Add a special case for tap-and-context menu

This commit is contained in:
Ali
2023-10-25 16:18:14 +04:00
parent 10836c4f8d
commit 5261f34e6a
8 changed files with 174 additions and 93 deletions

View File

@@ -152,7 +152,7 @@ public final class ChatMessageWebpageBubbleContentNode: ChatMessageBubbleContent
isConcealed = false
}
}
return ChatMessageBubbleContentTapAction(content: .url(ChatMessageBubbleContentTapAction.Url(url: content.url, concealed: isConcealed, allowInlineWebpageResolution: true)), activate: { [weak self] in
return ChatMessageBubbleContentTapAction(content: .url(ChatMessageBubbleContentTapAction.Url(url: content.url, concealed: isConcealed, allowInlineWebpageResolution: true)), hasLongTapAction: false, activate: { [weak self] in
guard let self else {
return nil
}