Introduced a UserSessionFlowCoordinator and split up the AppCoordinator state machine (#212)

This commit is contained in:
Stefan Ceriu
2022-09-25 12:34:11 +03:00
committed by GitHub
parent e0ecdcd1a8
commit cbb0ec5063
14 changed files with 484 additions and 295 deletions
@@ -128,4 +128,16 @@ extension NavigationRouterType {
push(modules.map { $0.toModule() },
animated: animated)
}
func dismissModule(animated: Bool = true, completion: (() -> Void)? = nil) {
dismissModule(animated: animated, completion: completion)
}
func push(_ module: Presentable, animated: Bool = true, popCompletion: (() -> Void)? = nil) {
push(module, animated: animated, popCompletion: popCompletion)
}
func present(_ module: Presentable, animated: Bool = true) {
present(module, animated: animated)
}
}