mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Edits history: Fix missing navigation bar
This commit is contained in:
parent
d09ff5961c
commit
54e3155763
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue