Ensure that room / space avatar always have a contentDescription.

This commit is contained in:
Benoit Marty
2026-01-02 16:23:15 +01:00
parent 78ad8056a1
commit 5b6dfca5d3
4 changed files with 5 additions and 5 deletions

View File

@@ -404,7 +404,7 @@ private fun RoomHeaderSection(
}.toImmutableList(),
isTombstoned = isTombstoned,
),
contentDescription = avatarUrl?.let { stringResource(CommonStrings.a11y_room_avatar) },
contentDescription = stringResource(CommonStrings.a11y_room_avatar),
modifier = Modifier
.clickable(
enabled = avatarUrl != null,