mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 10:02:46 +02:00
Use NavigationRouterStore where needed.
This commit is contained in:
+2
-2
@@ -34,7 +34,7 @@ final class NotificationSettingsCoordinatorBridgePresenter: NSObject {
|
||||
|
||||
private let session: MXSession
|
||||
private var coordinator: NotificationSettingsCoordinator?
|
||||
private var router: NavigationRouter?
|
||||
private var router: NavigationRouterType?
|
||||
|
||||
// MARK: Public
|
||||
|
||||
@@ -51,7 +51,7 @@ final class NotificationSettingsCoordinatorBridgePresenter: NSObject {
|
||||
|
||||
func push(from navigationController: UINavigationController, animated: Bool, screen: NotificationSettingsScreen, popCompletion: (() -> Void)?) {
|
||||
|
||||
let router = NavigationRouter(navigationController: navigationController)
|
||||
let router = NavigationRouterStore.shared.getOrCreateNavigationRouter(for: navigationController)
|
||||
|
||||
let notificationSettingsCoordinator = NotificationSettingsCoordinator(session: session, screen: screen)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user