Fix build

This commit is contained in:
Ilya Laktyushin 2019-06-26 01:10:47 +02:00
parent 3da2eb595a
commit 1aebcb6c0b
3 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,6 @@ public enum NavigateToChatKeepStack {
}
public func navigateToChatController(navigationController: NavigationController, chatController: ChatController? = nil, context: AccountContext, chatLocation: ChatLocation, messageId: MessageId? = nil, botStart: ChatControllerInitialBotStart? = nil, updateTextInputState: ChatTextInputState? = nil, activateInput: Bool = false, keepStack: NavigateToChatKeepStack = .default, purposefulAction: (() -> Void)? = nil, scrollToEndIfExists: Bool = false, animated: Bool = true, options: NavigationAnimationOptions = [], parentGroupId: PeerGroupId? = nil, completion: @escaping () -> Void = {}) {
var found = false
var isFirst = true
for controller in navigationController.viewControllers.reversed() {