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),
|
||||
mediaProvider: context.mediaProvider)
|
||||
.dynamicTypeSize(dynamicTypeSize < .accessibility1 ? dynamicTypeSize : .accessibility1)
|
||||
.accessibilityHidden(true)
|
||||
} else {
|
||||
RoomAvatarImage(avatar: .room(id: "", name: nil, avatarURL: nil),
|
||||
avatarSize: .room(on: .joinRoom),
|
||||
mediaProvider: context.mediaProvider)
|
||||
.dynamicTypeSize(dynamicTypeSize < .accessibility1 ? dynamicTypeSize : .accessibility1)
|
||||
.hidden()
|
||||
.accessibilityHidden(true)
|
||||
}
|
||||
|
||||
VStack(spacing: 8) {
|
||||
|
||||
Reference in New Issue
Block a user