User info screen design update

This commit is contained in:
Ali
2020-02-05 01:38:55 +00:00
parent 46ffb4e125
commit 6758002ade
49 changed files with 1543 additions and 439 deletions

View File

@@ -61,6 +61,15 @@ public class ChatTitleActivityNode: ASDisplayNode {
super.init()
}
public func makeCopy() -> ASDisplayNode {
let node = ASDisplayNode()
if let contentNode = self.contentNode {
node.addSubnode(contentNode.makeCopy())
}
node.frame = self.frame
return node
}
public func transitionToState(_ state: ChatTitleActivityNodeState, animation: ChatTitleActivityAnimationStyle = .crossfade, completion: @escaping () -> Void = {}) -> Bool {
if self.state != state {
let currentState = self.state