Edits history: Fix missing navigation bar

This commit is contained in:
manuroe 2019-07-01 10:34:02 +02:00
parent d09ff5961c
commit 54e3155763

View file

@ -61,7 +61,11 @@ final class EditHistoryCoordinatorBridgePresenter: NSObject {
func present(from viewController: UIViewController, animated: Bool) {
let editHistoryCoordinator = EditHistoryCoordinator(aggregations: self.aggregations, roomId: self.roomId, eventId: self.eventId)
editHistoryCoordinator.delegate = self
viewController.present(editHistoryCoordinator.toPresentable(), animated: animated, completion: nil)
let navigationController = UINavigationController()
navigationController.addChild(editHistoryCoordinator.toPresentable())
viewController.present(navigationController, animated: animated, completion: nil)
editHistoryCoordinator.start()
self.coordinator = editHistoryCoordinator