mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
Cleanup
This commit is contained in:
@@ -17,11 +17,14 @@
|
||||
import Foundation
|
||||
|
||||
// MARK: - Coordinator
|
||||
|
||||
enum UserOtherSessionsCoordinatorResult {
|
||||
case openSessionDetails(session: UserSessionInfo)
|
||||
}
|
||||
|
||||
// MARK: View model
|
||||
|
||||
enum UserOtherSessionsViewModelResult {
|
||||
case showUserSessionOverview(session: UserSessionInfo)
|
||||
}
|
||||
|
||||
// MARK: View
|
||||
@@ -36,13 +39,12 @@ enum UserOtherSessionsSection: Hashable, Identifiable {
|
||||
self
|
||||
}
|
||||
case sessionItems(header: UserOtherSessionsHeaderViewData, items: [UserSessionListItemViewData])
|
||||
case clearFilter
|
||||
}
|
||||
|
||||
enum UserOtherSessionsViewAction {
|
||||
case userOtherSessionSelected(sessionId: String)
|
||||
}
|
||||
|
||||
|
||||
enum OtherUserSessionsFilter {
|
||||
case all
|
||||
case inactive
|
||||
|
||||
Reference in New Issue
Block a user