mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
SP3.1: Update room settings for Spaces element-ios#5231
- Changed the Room Settings screen according to the new design - Implemented the room access flow - Added room upgrade support - Implemented the room suggestion screen
This commit is contained in:
@@ -28,6 +28,7 @@ struct MatrixItemChooserListRow: View {
|
||||
// MARK: Public
|
||||
|
||||
let avatar: AvatarInputProtocol
|
||||
let type: MatrixListItemDataType
|
||||
let displayName: String?
|
||||
let detailText: String?
|
||||
let isSelected: Bool
|
||||
@@ -35,7 +36,11 @@ struct MatrixItemChooserListRow: View {
|
||||
@ViewBuilder
|
||||
var body: some View {
|
||||
HStack{
|
||||
AvatarImage(avatarData: avatar, size: .small)
|
||||
if type == .space {
|
||||
SpaceAvatarImage(avatarData: avatar, size: .small)
|
||||
} else {
|
||||
AvatarImage(avatarData: avatar, size: .small)
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
Text(displayName ?? "")
|
||||
.foregroundColor(theme.colors.primaryContent)
|
||||
|
||||
Reference in New Issue
Block a user