mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
Filter button
This commit is contained in:
@@ -31,10 +31,15 @@ enum UserOtherSessionsViewModelResult: Equatable {
|
||||
// MARK: View
|
||||
|
||||
struct UserOtherSessionsViewState: BindableState, Equatable {
|
||||
var bindings: UserOtherSessionsBindings
|
||||
let title: String
|
||||
var sections: [UserOtherSessionsSection]
|
||||
}
|
||||
|
||||
struct UserOtherSessionsBindings: Equatable {
|
||||
var filter: OtherUserSessionsFilter
|
||||
}
|
||||
|
||||
enum UserOtherSessionsSection: Hashable, Identifiable {
|
||||
var id: Self {
|
||||
self
|
||||
@@ -45,4 +50,5 @@ enum UserOtherSessionsSection: Hashable, Identifiable {
|
||||
|
||||
enum UserOtherSessionsViewAction {
|
||||
case userOtherSessionSelected(sessionId: String)
|
||||
case filerWasChanged
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user