Moved isCurrentSession into UserSessionInfo

This commit is contained in:
Aleksandrs Proskurins
2022-09-27 15:36:44 +03:00
parent 2ba14b6d14
commit ed8d2f1083
15 changed files with 75 additions and 64 deletions
@@ -100,11 +100,11 @@ final class UserSessionsOverviewCoordinator: Coordinator, Presentable {
}
private func showCurrentSessionOverview(session: UserSessionInfo) {
completion?(.openSessionOverview(session: session, isCurrentSession: true))
completion?(.openSessionOverview(session: session))
}
private func showUserSessionOverview(session: UserSessionInfo) {
completion?(.openSessionOverview(session: session, isCurrentSession: false))
completion?(.openSessionOverview(session: session))
}
private func showAllOtherSessions() {