fix: Bump Compose BOM to fix ExposedDropdownMenuBox crash on detach

This commit is contained in:
darken
2026-03-20 17:48:55 +00:00
committed by Matthias Urhahn
parent 95bb225e64
commit 52433460be
2 changed files with 4 additions and 4 deletions
@@ -30,7 +30,7 @@ import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.MenuAnchorType
import androidx.compose.material3.ExposedDropdownMenuAnchorType
import androidx.compose.material3.OutlinedButton
import androidx.compose.material3.OutlinedTextField
import androidx.compose.material3.Scaffold
@@ -343,7 +343,7 @@ private fun DeviceInfoCard(
trailingIcon = { ExposedDropdownMenuDefaults.TrailingIcon(expanded = modelExpanded) },
modifier = Modifier
.fillMaxWidth()
.menuAnchor(MenuAnchorType.PrimaryNotEditable),
.menuAnchor(ExposedDropdownMenuAnchorType.PrimaryNotEditable),
)
ExposedDropdownMenu(
expanded = modelExpanded,
@@ -395,7 +395,7 @@ private fun DeviceInfoCard(
trailingIcon = { ExposedDropdownMenuDefaults.TrailingIcon(expanded = deviceExpanded) },
modifier = Modifier
.fillMaxWidth()
.menuAnchor(MenuAnchorType.PrimaryNotEditable),
.menuAnchor(ExposedDropdownMenuAnchorType.PrimaryNotEditable),
)
ExposedDropdownMenu(
expanded = deviceExpanded,
+1 -1
View File
@@ -15,7 +15,7 @@ object Versions {
}
object Compose {
const val bom = "2025.06.01"
const val bom = "2025.10.00"
}
object Navigation3 {