Video avatar fixes

This commit is contained in:
Ilya Laktyushin
2020-06-24 18:06:08 +03:00
parent 4755ee4261
commit a34b7402be
62 changed files with 753 additions and 1962 deletions

View File

@@ -35,13 +35,13 @@ class WebSearchVideoGalleryItem: GalleryItem {
self.controllerInteraction = controllerInteraction
}
func node() -> GalleryItemNode {
func node(synchronous: Bool) -> GalleryItemNode {
let node = WebSearchVideoGalleryItemNode(context: self.context, presentationData: self.presentationData, controllerInteraction: self.controllerInteraction)
node.setupItem(self)
return node
}
func updateNode(node: GalleryItemNode) {
func updateNode(node: GalleryItemNode, synchronous: Bool) {
if let node = node as? WebSearchVideoGalleryItemNode {
node.setupItem(self)
}