Implement floating avatars

This commit is contained in:
Ali
2021-07-13 19:49:33 +02:00
parent 2176bde4c3
commit 1369c86637
40 changed files with 461 additions and 146 deletions

View File

@@ -467,9 +467,9 @@ class CallListGroupCallItemNode: ItemListRevealOptionsItemNode {
self.layer.animateAlpha(from: 1.0, to: 0.0, duration: duration * 0.3, removeOnCompletion: false)
}
override public func header() -> ListViewItemHeader? {
override public func headers() -> [ListViewItemHeader]? {
if let (item, _, _, _, _) = self.layoutParams {
return item.header
return item.header.flatMap { [$0] }
} else {
return nil
}