refactor: use LocalAreaBoxShape for default shape in AreaBox

This commit is contained in:
2023-12-03 01:09:16 +08:00
parent 73651da66d
commit f7012d5db1

View File

@@ -182,7 +182,7 @@ internal fun withAreaBoxShape(
@ReadOnlyComposable
private fun defaultAreaBoxStyle() = AreaBoxStyle(
padding = PaddingValues(LocalSizes.current.spacingPrimary),
shape = LocalShapes.current.primary,
shape = LocalAreaBoxShape.current,
border = defaultAreaBoxBorder(),
shadowSize = DefaultAreaBoxShadowSize
)