mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:11:45 +00:00
hide accessibility for the avatar in the join room screen
This commit is contained in:
@@ -72,12 +72,14 @@ struct JoinRoomScreen: View {
|
|||||||
avatarSize: .room(on: .joinRoom),
|
avatarSize: .room(on: .joinRoom),
|
||||||
mediaProvider: context.mediaProvider)
|
mediaProvider: context.mediaProvider)
|
||||||
.dynamicTypeSize(dynamicTypeSize < .accessibility1 ? dynamicTypeSize : .accessibility1)
|
.dynamicTypeSize(dynamicTypeSize < .accessibility1 ? dynamicTypeSize : .accessibility1)
|
||||||
|
.accessibilityHidden(true)
|
||||||
} else {
|
} else {
|
||||||
RoomAvatarImage(avatar: .room(id: "", name: nil, avatarURL: nil),
|
RoomAvatarImage(avatar: .room(id: "", name: nil, avatarURL: nil),
|
||||||
avatarSize: .room(on: .joinRoom),
|
avatarSize: .room(on: .joinRoom),
|
||||||
mediaProvider: context.mediaProvider)
|
mediaProvider: context.mediaProvider)
|
||||||
.dynamicTypeSize(dynamicTypeSize < .accessibility1 ? dynamicTypeSize : .accessibility1)
|
.dynamicTypeSize(dynamicTypeSize < .accessibility1 ? dynamicTypeSize : .accessibility1)
|
||||||
.hidden()
|
.hidden()
|
||||||
|
.accessibilityHidden(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
VStack(spacing: 8) {
|
VStack(spacing: 8) {
|
||||||
|
|||||||
Reference in New Issue
Block a user