Tidy up for Voiceover. (#210)

Remove duplicate auth strings
This commit is contained in:
Doug
2022-09-23 15:31:07 +01:00
committed by GitHub
parent e9a272c120
commit dab23c23e7
12 changed files with 28 additions and 45 deletions
@@ -33,10 +33,12 @@ struct HomeScreenRoomCell: View {
.scaledToFill()
.frame(width: avatarSize, height: avatarSize)
.clipShape(Circle())
.accessibilityHidden(true)
} else {
PlaceholderAvatarImage(text: room.name, contentId: room.id)
.clipShape(Circle())
.frame(width: avatarSize, height: avatarSize)
.accessibilityHidden(true)
}
HStack(alignment: .top) {
@@ -76,6 +78,7 @@ struct HomeScreenRoomCell: View {
}
}
.frame(minHeight: 64.0)
.accessibilityElement(children: .combine)
.task {
context.send(viewAction: .loadRoomData(roomIdentifier: room.id))
}