UI and theme improvements

This commit is contained in:
Ali
2021-05-21 20:42:10 +04:00
parent 8557cd629a
commit a6f39e5a77
62 changed files with 1142 additions and 1208 deletions

View File

@@ -1008,7 +1008,7 @@ class ChatMessageInstantVideoItemNode: ChatMessageItemView {
self.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.2)
}
func animateFromSnapshot(snapshotView: UIView, transition: ContainedViewLayoutTransition) {
func animateFromSnapshot(snapshotView: UIView, transition: CombinedTransition) {
snapshotView.frame = self.interactiveVideoNode.view.convert(snapshotView.frame, from: self.contextSourceNode.contentNode.view)
self.interactiveVideoNode.animateFromSnapshot(snapshotView: snapshotView, transition: transition)
}