[#245] Onboarding test doesn't show selections. (#354)

- Changed color of the ChipDropDown text.
- Changed tint color of the ChipDropDown text disclosure trinagle.
This commit is contained in:
Honza Rychnovsky 2022-04-06 07:21:03 +02:00 committed by GitHub
parent db13435d52
commit aac784cc5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -66,12 +66,17 @@ fun ChipDropDown(
color = ZcashTheme.colors.chipIndex, color = ZcashTheme.colors.chipIndex,
) )
Spacer(modifier = Modifier.padding(horizontal = 2.dp, vertical = 0.dp)) Spacer(modifier = Modifier.padding(horizontal = 2.dp, vertical = 0.dp))
Text(dropdownText) Text(
text = dropdownText,
style = MaterialTheme.typography.bodyLarge,
color = MaterialTheme.colorScheme.onSecondary
)
Spacer(modifier = modifier.fillMaxWidth(MINIMAL_WEIGHT)) Spacer(modifier = modifier.fillMaxWidth(MINIMAL_WEIGHT))
Icon( Icon(
imageVector = Icons.Filled.ArrowDropDown, imageVector = Icons.Filled.ArrowDropDown,
contentDescription = null, contentDescription = null,
modifier = Modifier.size(18.dp) modifier = Modifier.size(18.dp),
tint = MaterialTheme.colorScheme.onSecondary
) )
} }
val dropdownModifier = if (expanded) { val dropdownModifier = if (expanded) {