Refactor CallListUI

This commit is contained in:
Peter
2019-08-13 02:55:20 +03:00
parent 733f1a47c6
commit d4d1be5300
42 changed files with 1019 additions and 198 deletions

View File

@@ -1211,7 +1211,7 @@ final class InstantPageControllerNode: ASDisplayNode, UIScrollViewDelegate {
let _ = (strongSelf.context.account.postbox.loadedPeerWithId(peerId)
|> deliverOnMainQueue).start(next: { peer in
if let strongSelf = self {
if let controller = strongSelf.context.sharedContext.makePeerInfoController(context: strongSelf.context, peer: peer) {
if let controller = strongSelf.context.sharedContext.makePeerInfoController(context: strongSelf.context, peer: peer, mode: .generic) {
strongSelf.getNavigationController()?.pushViewController(controller)
}
}