Skip to content

Commit 52f437d

Browse files
AndyScherzingeralperozturk96
authored andcommitted
fix(a11y): Set content description to null since image is purely decorative (for the text below it)
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> [skip ci]
1 parent bb25693 commit 52f437d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎app/src/main/java/com/nextcloud/client/assistant/AssistantScreen.kt‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,8 @@ private fun EmptyContent(paddingValues: PaddingValues, iconId: Int?, description
379379
painter = painterResource(id = iconId),
380380
modifier = Modifier.size(32.dp),
381381
colorFilter = ColorFilter.tint(color = colorResource(R.color.text_color)),
382-
contentDescription = "empty content icon"
382+
contentDescription = null
383383
)
384-
385384
Spacer(modifier = Modifier.height(8.dp))
386385
}
387386

0 commit comments

Comments
 (0)