mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-25 14:45:59 +03:00
parent
0fffde50ff
commit
f01a312c23
1 changed files with 5 additions and 1 deletions
|
@ -207,6 +207,7 @@ fun SelectItem(
|
|||
label = { Text(text = label) },
|
||||
value = options[selectedIndex].toString(),
|
||||
onValueChange = {},
|
||||
enabled = false,
|
||||
readOnly = true,
|
||||
singleLine = true,
|
||||
trailingIcon = {
|
||||
|
@ -214,7 +215,9 @@ fun SelectItem(
|
|||
expanded = expanded,
|
||||
)
|
||||
},
|
||||
colors = ExposedDropdownMenuDefaults.textFieldColors(),
|
||||
colors = ExposedDropdownMenuDefaults.textFieldColors(
|
||||
disabledTextColor = MaterialTheme.colorScheme.onSurface,
|
||||
),
|
||||
)
|
||||
|
||||
ExposedDropdownMenu(
|
||||
|
@ -229,6 +232,7 @@ fun SelectItem(
|
|||
onSelect(index)
|
||||
expanded = false
|
||||
},
|
||||
contentPadding = ExposedDropdownMenuDefaults.ItemContentPadding,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue