mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
User info screen design update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user