mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Video avatar fixes
This commit is contained in:
parent
2120d4251f
commit
03158347e1
@ -1061,6 +1061,10 @@ final class PeerInfoAvatarListContainerNode: ASDisplayNode {
|
||||
return
|
||||
}
|
||||
|
||||
if strongSelf.galleryEntries.count > 1, entries.count == 1, let first = entries.first, case .topImage = first {
|
||||
return
|
||||
}
|
||||
|
||||
var entries = entries
|
||||
var synchronous = false
|
||||
if !strongSelf.galleryEntries.isEmpty, let updated = entries.first, case let .image(image) = updated, !image.3.isEmpty, let previous = strongSelf.galleryEntries.first, case let .topImage(topImage) = previous {
|
||||
|
Loading…
x
Reference in New Issue
Block a user