diff options
| -rw-r--r-- | packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt b/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt index b7d6e09515ac..e2d693eb1089 100644 --- a/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt +++ b/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt @@ -701,7 +701,7 @@ private fun Toolbar( ), verticalAlignment = Alignment.CenterVertically ) { - Icon(Icons.Default.Close, stringResource(R.string.button_to_remove_widget)) + Icon(Icons.Default.Close, contentDescription = null) Text( text = stringResource(R.string.button_to_remove_widget), ) @@ -714,10 +714,7 @@ private fun Toolbar( modifier = Modifier.align(Alignment.CenterEnd), onClick = onEditDone, ) { - Icon( - Icons.Default.Check, - stringResource(id = R.string.hub_mode_editing_exit_button_text) - ) + Icon(Icons.Default.Check, contentDescription = null) Text( text = stringResource(R.string.hub_mode_editing_exit_button_text), ) |