added testTag in image (#228)

This commit is contained in:
Maila Rajanikanth
2023-11-06 18:16:41 +05:30
committed by GitHub
parent fa2be2b58d
commit 9439c4b317

View File

@@ -122,6 +122,7 @@ class ImageRenderer : Renderer<ImageProperty> {
contentDescription = "",
contentScale = getContentScale(contentScale = property.contentScale),
modifier = (modifier ?: Modifier)
.setTag(property)
.setWidth(property.width)
.setHeight(property.height)
.setPadding(property.margin)