Commit 7217ce8c authored by Maurice Kraus's avatar Maurice Kraus
Browse files

feat(navigationlayer): this connects the vm with the coordinator

parent 9b491524
Pipeline #1898 passed with stages
in 14 minutes and 13 seconds
......@@ -54,6 +54,10 @@ class ProfileCoordinator: BaseCoordinator<ProfileCoordinatorResult> {
self?.showTitleSelection(navigationController: navigationController)
}).disposed(by: self.disposeBag)
profileViewModel.didSelectPasswordChange.subscribe(onNext: { [weak self] in
self?.showPasswordChange(navigationController: navigationController)
}).disposed(by: self.disposeBag)
let didCancel = containerViewModel.didCancel.map { CoordinationResult.cancel }
let didLogout = profileViewModel.didLogout.map { CoordinationResult.logout }
......@@ -82,6 +86,10 @@ class ProfileCoordinator: BaseCoordinator<ProfileCoordinatorResult> {
navigationController.pushViewController(viewController, animated: true)
}
private func showPasswordChange(navigationController: UINavigationController) {
logger.debug("Clicked showPassword")
}
deinit {
logger.debug("ProfileCoordinator Deinit")
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment