Add content description to icon in app definition
This commit is contained in:
@@ -147,10 +147,10 @@ fun RenderAppDefinition(
|
|||||||
var zoomImageDialogOpen by remember { mutableStateOf(false) }
|
var zoomImageDialogOpen by remember { mutableStateOf(false) }
|
||||||
|
|
||||||
Box(Modifier.size(100.dp)) {
|
Box(Modifier.size(100.dp)) {
|
||||||
it.picture?.let {
|
it.picture?.let { picture ->
|
||||||
AsyncImage(
|
AsyncImage(
|
||||||
model = it,
|
model = picture,
|
||||||
contentDescription = null,
|
contentDescription = it.name,
|
||||||
contentScale = ContentScale.FillWidth,
|
contentScale = ContentScale.FillWidth,
|
||||||
modifier =
|
modifier =
|
||||||
Modifier
|
Modifier
|
||||||
@@ -163,7 +163,7 @@ fun RenderAppDefinition(
|
|||||||
.background(MaterialTheme.colorScheme.background)
|
.background(MaterialTheme.colorScheme.background)
|
||||||
.combinedClickable(
|
.combinedClickable(
|
||||||
onClick = { zoomImageDialogOpen = true },
|
onClick = { zoomImageDialogOpen = true },
|
||||||
onLongClick = { clipboardManager.setText(AnnotatedString(it)) },
|
onLongClick = { clipboardManager.setText(AnnotatedString(picture)) },
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user