mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-29 02:58:51 +03:00
Update Compose
Also remove workaround for preventing keyboard showing up for SelectItems.
This commit is contained in:
parent
67bc81ebde
commit
efa7a3a167
2 changed files with 3 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
[versions]
|
[versions]
|
||||||
compiler = "1.5.1"
|
compiler = "1.5.1"
|
||||||
compose-bom = "2023.07.00-alpha02"
|
compose-bom = "2023.09.00-alpha01"
|
||||||
accompanist = "0.31.5-beta"
|
accompanist = "0.33.0-alpha"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
activity = "androidx.activity:activity-compose:1.7.2"
|
activity = "androidx.activity:activity-compose:1.7.2"
|
||||||
|
|
|
@ -231,7 +231,6 @@ fun SelectItem(
|
||||||
label = { Text(text = label) },
|
label = { Text(text = label) },
|
||||||
value = options[selectedIndex].toString(),
|
value = options[selectedIndex].toString(),
|
||||||
onValueChange = {},
|
onValueChange = {},
|
||||||
enabled = false,
|
|
||||||
readOnly = true,
|
readOnly = true,
|
||||||
singleLine = true,
|
singleLine = true,
|
||||||
trailingIcon = {
|
trailingIcon = {
|
||||||
|
@ -239,9 +238,7 @@ fun SelectItem(
|
||||||
expanded = expanded,
|
expanded = expanded,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
colors = ExposedDropdownMenuDefaults.textFieldColors(
|
colors = ExposedDropdownMenuDefaults.textFieldColors(),
|
||||||
disabledTextColor = MaterialTheme.colorScheme.onSurface,
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
ExposedDropdownMenu(
|
ExposedDropdownMenu(
|
||||||
|
|
Loading…
Reference in a new issue