mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-08 11:34:18 +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
|
@ReadOnlyComposable
|
||||||
private fun defaultIconButtonColors() = ButtonColors(
|
private fun defaultIconButtonColors() = ButtonColors(
|
||||||
rippleColor = LocalColors.current.themeSecondary,
|
rippleColor = LocalColors.current.themeSecondary,
|
||||||
contentColor = LocalColors.current.themePrimary,
|
contentColor = LocalIconTint.current.orElse() ?: LocalColors.current.themePrimary,
|
||||||
backgroundColor = Color.Transparent
|
backgroundColor = Color.Transparent
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user