Prevent usage of hard-coded string for contentDescription, and fix existing issues.
This commit is contained in:
parent
ef7315d6c6
commit
5f8e85edc6
12 changed files with 20 additions and 16 deletions
|
|
@ -58,7 +58,7 @@ fun RoomPrivacyOption(
|
|||
Icon(
|
||||
modifier = Modifier.padding(horizontal = 8.dp),
|
||||
resourceId = roomPrivacyItem.icon,
|
||||
contentDescription = "",
|
||||
contentDescription = null,
|
||||
tint = MaterialTheme.colorScheme.secondary,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -300,7 +300,7 @@ private fun PinUnlockHeader(
|
|||
.size(32.dp),
|
||||
tint = ElementTheme.colors.iconPrimary,
|
||||
imageVector = Icons.Filled.Lock,
|
||||
contentDescription = "",
|
||||
contentDescription = null,
|
||||
)
|
||||
}
|
||||
Spacer(modifier = Modifier.height(16.dp))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue