[WIP] Topics

This commit is contained in:
Ali
2022-10-18 19:50:17 +04:00
parent 2d6dc9ac13
commit 9b35b9630c
3 changed files with 7 additions and 4 deletions

View File

@@ -258,5 +258,7 @@ public func navigateToForumThreadImpl(context: AccountContext, peerId: EnginePee
}
public func navigateToForumChannelImpl(context: AccountContext, peerId: EnginePeer.Id, navigationController: NavigationController) {
navigationController.pushViewController(ChatListControllerImpl(context: context, location: .forum(peerId: peerId), controlsHistoryPreload: false, enableDebugActions: false))
let controller = ChatListControllerImpl(context: context, location: .forum(peerId: peerId), controlsHistoryPreload: false, enableDebugActions: false)
controller.navigationPresentation = .master
navigationController.pushViewController(controller)
}