Revert "Update Compose"

This reverts commit 4b4e432ef6.
This commit is contained in:
Jobobby04
2023-08-13 15:11:07 -04:00
parent 28f7e03cab
commit 119d3ef56e
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
[versions]
compiler = "1.5.1"
compose-bom = "2023.09.00-alpha01"
accompanist = "0.33.0-alpha"
compose-bom = "2023.07.00-alpha02"
accompanist = "0.31.5-beta"
[libraries]
activity = "androidx.activity:activity-compose:1.7.2"
@@ -232,6 +232,7 @@ fun SelectItem(
label = { Text(text = label) },
value = options[selectedIndex].toString(),
onValueChange = {},
enabled = false,
readOnly = true,
singleLine = true,
trailingIcon = {
@@ -239,7 +240,9 @@ fun SelectItem(
expanded = expanded,
)
},
colors = ExposedDropdownMenuDefaults.textFieldColors(),
colors = ExposedDropdownMenuDefaults.textFieldColors(
disabledTextColor = MaterialTheme.colorScheme.onSurface,
),
)
ExposedDropdownMenu(