Update Compose

Also remove workaround for preventing keyboard showing up for SelectItems.
This commit is contained in:
arkon
2023-08-10 22:45:58 -04:00
parent 67bc81ebde
commit efa7a3a167
2 changed files with 3 additions and 6 deletions

View File

@ -231,7 +231,6 @@ fun SelectItem(
label = { Text(text = label) },
value = options[selectedIndex].toString(),
onValueChange = {},
enabled = false,
readOnly = true,
singleLine = true,
trailingIcon = {
@ -239,9 +238,7 @@ fun SelectItem(
expanded = expanded,
)
},
colors = ExposedDropdownMenuDefaults.textFieldColors(
disabledTextColor = MaterialTheme.colorScheme.onSurface,
),
colors = ExposedDropdownMenuDefaults.textFieldColors(),
)
ExposedDropdownMenu(