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
071a3bdef1
commit
ef782bbda3
@ -343,6 +343,10 @@ public final class GalleryPagerNode: ASDisplayNode, UIScrollViewDelegate, UIGest
|
||||
}
|
||||
|
||||
self.transaction(GalleryPagerTransaction(deleteItems: deleteItems, insertItems: insertItems, updateItems: updateItems, focusOnItem: centralItemIndex, synchronous: synchronous))
|
||||
|
||||
if self.updateOnReplacement {
|
||||
self.items = items
|
||||
}
|
||||
}
|
||||
|
||||
public func transaction(_ transaction: GalleryPagerTransaction) {
|
||||
|
@ -43,8 +43,6 @@ private struct PeerAvatarImageGalleryThumbnailItem: GalleryThumbnailItem {
|
||||
}
|
||||
|
||||
class PeerAvatarImageGalleryItem: GalleryItem {
|
||||
|
||||
|
||||
var id: AnyHashable {
|
||||
return self.entry.id
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user