mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-08 11:34:18 +08:00
refactor: use LocalAreaBoxShape for default shape in AreaBox
This commit is contained in:
@@ -182,7 +182,7 @@ internal fun withAreaBoxShape(
|
|||||||
@ReadOnlyComposable
|
@ReadOnlyComposable
|
||||||
private fun defaultAreaBoxStyle() = AreaBoxStyle(
|
private fun defaultAreaBoxStyle() = AreaBoxStyle(
|
||||||
padding = PaddingValues(LocalSizes.current.spacingPrimary),
|
padding = PaddingValues(LocalSizes.current.spacingPrimary),
|
||||||
shape = LocalShapes.current.primary,
|
shape = LocalAreaBoxShape.current,
|
||||||
border = defaultAreaBoxBorder(),
|
border = defaultAreaBoxBorder(),
|
||||||
shadowSize = DefaultAreaBoxShadowSize
|
shadowSize = DefaultAreaBoxShadowSize
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user