mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-08 19:44:25 +08:00
fix: local text style color
This commit is contained in:
@@ -260,7 +260,7 @@ private fun TextFieldDecorationBox(
|
|||||||
Box {
|
Box {
|
||||||
Box(modifier = Modifier.alpha(placeholderAlpha)) {
|
Box(modifier = Modifier.alpha(placeholderAlpha)) {
|
||||||
CompositionLocalProvider(
|
CompositionLocalProvider(
|
||||||
LocalTextStyle provides LocalTextStyle.current.copy(color = LocalColors.current.textSecondary)
|
LocalTextStyle provides LocalTextStyle.current.default(LocalColors.current.textSecondary)
|
||||||
) { placeholder() }
|
) { placeholder() }
|
||||||
}
|
}
|
||||||
innerTextField()
|
innerTextField()
|
||||||
|
Reference in New Issue
Block a user