refactor: use local icon tint in icon button content color at first

This commit is contained in:
2023-11-19 00:39:49 +08:00
parent f7a92d8f4d
commit 2e19865134

View File

@@ -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
)