mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 04:37:25 +01:00
Update Compose
Also remove workaround for preventing keyboard showing up for SelectItems.
This commit is contained in:
parent
67bc81ebde
commit
efa7a3a167
@ -1,7 +1,7 @@
|
||||
[versions]
|
||||
compiler = "1.5.1"
|
||||
compose-bom = "2023.07.00-alpha02"
|
||||
accompanist = "0.31.5-beta"
|
||||
compose-bom = "2023.09.00-alpha01"
|
||||
accompanist = "0.33.0-alpha"
|
||||
|
||||
[libraries]
|
||||
activity = "androidx.activity:activity-compose:1.7.2"
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user