mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
[WIP] Stories
This commit is contained in:
@@ -1180,6 +1180,10 @@ final class ChatMessageAttachedContentNode: ASDisplayNode {
|
||||
return (contentImageNode, contentImageNode.bounds, { [weak contentImageNode] in
|
||||
return (contentImageNode?.view.snapshotContentTree(unhide: true), nil)
|
||||
})
|
||||
} else if let contentImageNode = self.contentImageNode, let story = self.media as? TelegramMediaStory, story.isEqual(to: media) {
|
||||
return (contentImageNode, contentImageNode.bounds, { [weak contentImageNode] in
|
||||
return (contentImageNode?.view.snapshotContentTree(unhide: true), nil)
|
||||
})
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user