mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Fix instant page web embed dynamic height updates
This commit is contained in:
parent
789e9e8030
commit
c1728f9719
@ -495,6 +495,9 @@ final class InstantPageControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
if item is InstantPageWebEmbedItem {
|
||||
embedIndex += 1
|
||||
}
|
||||
if let imageItem = item as? InstantPageImageItem, imageItem.media.media is TelegramMediaWebpage {
|
||||
embedIndex += 1
|
||||
}
|
||||
if item is InstantPageDetailsItem {
|
||||
detailsIndex += 1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user