mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-10 12:59:51 +02:00
Add content description to icon in app definition
This commit is contained in:
parent
314cbe1a32
commit
39a7d98651
@ -147,10 +147,10 @@ fun RenderAppDefinition(
|
||||
var zoomImageDialogOpen by remember { mutableStateOf(false) }
|
||||
|
||||
Box(Modifier.size(100.dp)) {
|
||||
it.picture?.let {
|
||||
it.picture?.let { picture ->
|
||||
AsyncImage(
|
||||
model = it,
|
||||
contentDescription = null,
|
||||
model = picture,
|
||||
contentDescription = it.name,
|
||||
contentScale = ContentScale.FillWidth,
|
||||
modifier =
|
||||
Modifier
|
||||
@ -163,7 +163,7 @@ fun RenderAppDefinition(
|
||||
.background(MaterialTheme.colorScheme.background)
|
||||
.combinedClickable(
|
||||
onClick = { zoomImageDialogOpen = true },
|
||||
onLongClick = { clipboardManager.setText(AnnotatedString(it)) },
|
||||
onLongClick = { clipboardManager.setText(AnnotatedString(picture)) },
|
||||
),
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user