Updated on 2026-08-14
This commit is contained in:
parent
af9893acd6
commit
9e948f7703
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue