Fixed video layer crash on iOS 8.x

This commit is contained in:
Peter Iakovlev
2018-12-25 17:58:09 +04:00
parent 0ba4de1457
commit 8d38a8db0c
9 changed files with 74 additions and 18 deletions

View File

@@ -50,7 +50,7 @@ public func navigateToChatController(navigationController: NavigationController,
resolvedKeepStack = false
}
if resolvedKeepStack {
navigationController.pushViewController(controller, completion: completion)
navigationController.pushViewController(controller, animated: animated, completion: completion)
} else {
navigationController.replaceAllButRootController(controller, animated: animated, completion: completion)
}