mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Add accessibility hints for the send state in the room list. (#4804)
This commit is contained in:
@@ -89,9 +89,11 @@ struct HomeScreenRoomCell: View {
|
||||
case .sending:
|
||||
CompoundIcon(\.time, size: .xSmall, relativeTo: .compound.bodyLGSemibold)
|
||||
.foregroundStyle(.compound.iconTertiary)
|
||||
.accessibilityLabel(L10n.commonSending)
|
||||
case .failed:
|
||||
CompoundIcon(\.errorSolid, size: .xSmall, relativeTo: .compound.bodyLGSemibold)
|
||||
.foregroundStyle(.compound.iconCriticalPrimary)
|
||||
.accessibilityHidden(true) // The last message contains the error.
|
||||
case .none:
|
||||
EmptyView()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user