mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 19:14:12 +08:00
refactor: use local icon tint in icon button content color at first
This commit is contained in:
@@ -240,7 +240,7 @@ private fun defaultButtonOutBoxColors() = ButtonColors(
|
||||
@ReadOnlyComposable
|
||||
private fun defaultIconButtonColors() = ButtonColors(
|
||||
rippleColor = LocalColors.current.themeSecondary,
|
||||
contentColor = LocalColors.current.themePrimary,
|
||||
contentColor = LocalIconTint.current.orElse() ?: LocalColors.current.themePrimary,
|
||||
backgroundColor = Color.Transparent
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user