Session overview screen

This commit is contained in:
Aleksandrs Proskurins
2022-09-23 17:16:18 +03:00
parent db2bccc7be
commit 6fc2d397d9
18 changed files with 545 additions and 29 deletions

View File

@@ -19,7 +19,7 @@ import Foundation
// MARK: - Coordinator
enum UserSessionsOverviewCoordinatorResult {
case openSessionDetails(session: UserSessionInfo)
case openSessionOverview(session: UserSessionInfo, isCurrentSession: Bool)
}
// MARK: View model
@@ -28,9 +28,9 @@ enum UserSessionsOverviewViewModelResult {
case showAllUnverifiedSessions
case showAllInactiveSessions
case verifyCurrentSession
case showCurrentSessionDetails
case showCurrentSessionOverview(sessionInfo: UserSessionInfo)
case showAllOtherSessions
case showUserSessionDetails(_ sessionId: String)
case showUserSessionOverview(sessionInfo: UserSessionInfo)
}
// MARK: View