mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-22 10:38:26 +00:00
Fix caret color
This commit is contained in:
parent
d1c2750de6
commit
8a1dcd4261
@ -124,7 +124,8 @@ private fun Colors() {
|
|||||||
fun outlinedTextFieldColors(
|
fun outlinedTextFieldColors(
|
||||||
isError: Boolean
|
isError: Boolean
|
||||||
) = TextFieldDefaults.outlinedTextFieldColors(
|
) = TextFieldDefaults.outlinedTextFieldColors(
|
||||||
textColor = if (isError) colorDestructive else LocalContentColor.current.copy(LocalContentAlpha.current),
|
textColor = if (isError) colorDestructive else LocalContentColor.current,
|
||||||
|
cursorColor = if (isError) colorDestructive else LocalContentColor.current,
|
||||||
focusedBorderColor = Color(classicDark3),
|
focusedBorderColor = Color(classicDark3),
|
||||||
unfocusedBorderColor = Color(classicDark3),
|
unfocusedBorderColor = Color(classicDark3),
|
||||||
placeholderColor = if (isError) colorDestructive else MaterialTheme.colors.onSurface.copy(ContentAlpha.medium)
|
placeholderColor = if (isError) colorDestructive else MaterialTheme.colors.onSurface.copy(ContentAlpha.medium)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user