mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Various improvements
This commit is contained in:
@@ -5957,7 +5957,16 @@ public class ChatMessageBubbleItemNode: ChatMessageItemView, ChatMessagePreviewI
|
||||
}
|
||||
|
||||
override public func makeProgress() -> Promise<Bool>? {
|
||||
return self.unlockButtonNode?.makeProgress()
|
||||
if let unlockButtonNode = self.unlockButtonNode {
|
||||
return unlockButtonNode.makeProgress()
|
||||
} else {
|
||||
for contentNode in self.contentNodes {
|
||||
if let webpageContentNode = contentNode as? ChatMessageWebpageBubbleContentNode {
|
||||
return webpageContentNode.contentNode.makeProgress()
|
||||
}
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
override public func targetReactionView(value: MessageReaction.Reaction) -> UIView? {
|
||||
|
||||
Reference in New Issue
Block a user