mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[WIP] Stories
This commit is contained in:
@@ -157,9 +157,15 @@ public func navigateToChatControllerImpl(_ params: NavigateToChatControllerParam
|
||||
resolvedKeepStack = false
|
||||
}
|
||||
if resolvedKeepStack {
|
||||
params.navigationController.pushViewController(controller, animated: params.animated, completion: {
|
||||
params.completion(controller)
|
||||
})
|
||||
if let pushController = params.pushController {
|
||||
pushController(controller, params.animated, {
|
||||
params.completion(controller)
|
||||
})
|
||||
} else {
|
||||
params.navigationController.pushViewController(controller, animated: params.animated, completion: {
|
||||
params.completion(controller)
|
||||
})
|
||||
}
|
||||
} else {
|
||||
let viewControllers = params.navigationController.viewControllers.filter({ controller in
|
||||
if controller is ForumCreateTopicScreen {
|
||||
|
||||
Reference in New Issue
Block a user