mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-08 19:44:25 +08:00
fix: local text style color in Button
This commit is contained in:
@@ -81,7 +81,7 @@ fun Button(
|
|||||||
footer: @Composable () -> Unit = {},
|
footer: @Composable () -> Unit = {},
|
||||||
content: @Composable RowScope.() -> Unit
|
content: @Composable RowScope.() -> Unit
|
||||||
) {
|
) {
|
||||||
val localTextStyle = LocalTextStyle.current.copy(color = colors.contentColor)
|
val localTextStyle = LocalTextStyle.current.default(color = colors.contentColor)
|
||||||
val localProgressIndicatorColors = LocalProgressIndicatorColors.current.copy(
|
val localProgressIndicatorColors = LocalProgressIndicatorColors.current.copy(
|
||||||
foregroundColor = colors.contentColor,
|
foregroundColor = colors.contentColor,
|
||||||
backgroundColor = Color.Transparent
|
backgroundColor = Color.Transparent
|
||||||
|
Reference in New Issue
Block a user