Updated on 2026-08-14

This commit is contained in:
Tangem 2025-03-20 12:46:07 +05:00
parent af9893acd6
commit 9e948f7703

View file

@ -32,7 +32,7 @@ fun Modifier.roundedShapeItemDecoration(
val applyShape: Modifier.(shape: RoundedCornerShape?) -> Modifier = { shape ->
if (backgroundColor != null) {
if (shape != null) {
background(color = backgroundColor, shape = shape)
clip(shape).background(color = backgroundColor, shape = shape)
} else {
background(color = backgroundColor)
}