mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-20 17:57:29 +00:00
Fix find-by-username text field using wrong background color.
The TextField was not explicitly setting container colors, causing it to fall back to Material 3 defaults instead of the app's surfaceVariant color. Added focusedContainerColor, unfocusedContainerColor, and disabledContainerColor to match the pattern used throughout the rest of the codebase.
This commit is contained in:
committed by
Alex Hart
parent
333a206d36
commit
ab0ce58812
@@ -353,6 +353,9 @@ private fun Content(
|
||||
),
|
||||
shape = RoundedCornerShape(32.dp),
|
||||
colors = TextFieldDefaults.colors(
|
||||
unfocusedContainerColor = MaterialTheme.colorScheme.surfaceVariant,
|
||||
focusedContainerColor = MaterialTheme.colorScheme.surfaceVariant,
|
||||
disabledContainerColor = MaterialTheme.colorScheme.surfaceVariant,
|
||||
unfocusedIndicatorColor = Color.Transparent,
|
||||
focusedIndicatorColor = Color.Transparent,
|
||||
disabledIndicatorColor = Color.Transparent,
|
||||
|
||||
Reference in New Issue
Block a user