Video avatar fixes

This commit is contained in:
Ilya Laktyushin
2020-07-10 22:00:41 +03:00
parent 9500196d5b
commit 28394131a5
4 changed files with 18 additions and 6 deletions

View File

@@ -846,7 +846,7 @@ public func channelAdminsController(context: AccountContext, peerId initialPeerI
return controller
}
func rebuildControllerStackAfterSupergroupUpgrade(controller: ViewController, navigationController: NavigationController, replace: ((UIViewController) -> UIViewController)? = nil) {
public func rebuildControllerStackAfterSupergroupUpgrade(controller: ViewController, navigationController: NavigationController, replace: ((UIViewController) -> UIViewController)? = nil) {
var controllers = navigationController.viewControllers
for i in 0 ..< controllers.count {
if controllers[i] === controller {