mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 19:14:12 +08:00
fix: button content not in center
This commit is contained in:
@@ -98,7 +98,8 @@ fun Button(
|
||||
role = Role.Button,
|
||||
interactionSource = interactionSource,
|
||||
onClick = onClick
|
||||
)
|
||||
),
|
||||
contentAlignment = Alignment.Center
|
||||
) {
|
||||
CompositionLocalProvider(
|
||||
LocalIconStyle provides LocalIconStyle.current.copy(tint = colors.contentColor),
|
||||
|
Reference in New Issue
Block a user