Ensure that room / space avatar always have a contentDescription.
This commit is contained in:
parent
233d22367f
commit
00448756a8
4 changed files with 5 additions and 5 deletions
|
|
@ -66,7 +66,7 @@ fun UserProfileHeaderSection(
|
|||
Avatar(
|
||||
avatarData = AvatarData(userId.value, userName, avatarUrl, AvatarSize.UserHeader),
|
||||
avatarType = AvatarType.User,
|
||||
contentDescription = avatarUrl?.let { stringResource(CommonStrings.a11y_user_avatar) },
|
||||
contentDescription = stringResource(CommonStrings.a11y_user_avatar),
|
||||
modifier = Modifier
|
||||
.clip(CircleShape)
|
||||
.clickable(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue