mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Session selection state
This commit is contained in:
@@ -16,13 +16,15 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
typealias SessionId = String
|
||||
|
||||
/// View data for UserSessionListItem
|
||||
struct UserSessionListItemViewData: Identifiable, Hashable {
|
||||
var id: String {
|
||||
sessionId
|
||||
}
|
||||
|
||||
let sessionId: String
|
||||
let sessionId: SessionId
|
||||
|
||||
let sessionName: String
|
||||
|
||||
@@ -33,4 +35,6 @@ struct UserSessionListItemViewData: Identifiable, Hashable {
|
||||
let deviceAvatarViewData: DeviceAvatarViewData
|
||||
|
||||
let sessionDetailsIcon: String?
|
||||
|
||||
let isSelected: Bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user