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 233d22367f
commit 00448756a8
4 changed files with 5 additions and 5 deletions

View file

@ -115,7 +115,7 @@ private fun SpaceInfoSection(
Avatar(
avatarData = AvatarData(roomId.value, name, avatarUrl, AvatarSize.SpaceListItem),
avatarType = AvatarType.Space(),
contentDescription = avatarUrl?.let { stringResource(CommonStrings.a11y_avatar) },
contentDescription = stringResource(CommonStrings.a11y_avatar),
)
Spacer(Modifier.width(16.dp))
Column {