Navigating to session overview goes to session details

This commit is contained in:
Aleksandrs Proskurins
2022-10-14 09:21:17 +03:00
parent 8fa639f96e
commit 8614315c00
3 changed files with 4 additions and 4 deletions
@@ -55,7 +55,7 @@ final class UserOtherSessionsCoordinator: Coordinator, Presentable {
guard let self = self else { return }
switch result {
case let .showUserSessionOverview(sessionInfo: session):
self.completion?(.openSessionDetails(sessionInfo: session))
self.completion?(.openSessionOverview(sessionInfo: session))
}
MXLog.debug("[UserOtherSessionsCoordinator] UserOtherSessionsViewModel did complete with result: \(result).")
}
@@ -19,7 +19,7 @@ import Foundation
// MARK: - Coordinator
enum UserOtherSessionsCoordinatorResult {
case openSessionDetails(sessionInfo: UserSessionInfo)
case openSessionOverview(sessionInfo: UserSessionInfo)
}
// MARK: View model