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:
Greyson Parrelli
2026-02-15 09:13:07 -05:00
committed by Alex Hart
parent 333a206d36
commit ab0ce58812

View File

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