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

@@ -149,7 +149,7 @@ public final class CallListController: ViewController {
let _ = (strongSelf.context.account.postbox.loadedPeerWithId(peerId)
|> take(1)
|> deliverOnMainQueue).start(next: { peer in
if let strongSelf = self, let controller = strongSelf.context.sharedContext.makePeerInfoController(context: strongSelf.context, peer: peer, mode: .calls(messages: messages)) {
if let strongSelf = self, let controller = strongSelf.context.sharedContext.makePeerInfoController(context: strongSelf.context, peer: peer, mode: .calls(messages: messages), avatarInitiallyExpanded: false) {
(strongSelf.navigationController as? NavigationController)?.pushViewController(controller)
}
})