fix: 部分发现项无法同行显示
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -140,6 +140,7 @@ fun ExploreKindMultiTypeItem(
|
|||||||
valueOverride,
|
valueOverride,
|
||||||
onValueChange,
|
onValueChange,
|
||||||
onRunAction,
|
onRunAction,
|
||||||
|
modifier,
|
||||||
BaseItem
|
BaseItem
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -289,6 +290,7 @@ private fun SelectTypeItem(
|
|||||||
valueOverride: String?,
|
valueOverride: String?,
|
||||||
onValueChange: ((String) -> Unit)?,
|
onValueChange: ((String) -> Unit)?,
|
||||||
onRunAction: (() -> Unit)?,
|
onRunAction: (() -> Unit)?,
|
||||||
|
modifier: Modifier = Modifier,
|
||||||
BaseItem: @Composable (String, () -> Unit) -> Unit
|
BaseItem: @Composable (String, () -> Unit) -> Unit
|
||||||
) {
|
) {
|
||||||
val chars = remember(kind.chars) {
|
val chars = remember(kind.chars) {
|
||||||
@@ -309,7 +311,7 @@ private fun SelectTypeItem(
|
|||||||
}
|
}
|
||||||
var showSelector by remember(sourceUrl, kind.title) { mutableStateOf(false) }
|
var showSelector by remember(sourceUrl, kind.title) { mutableStateOf(false) }
|
||||||
|
|
||||||
Box {
|
Box(modifier = modifier) {
|
||||||
val internalOnClick = { showSelector = true }
|
val internalOnClick = { showSelector = true }
|
||||||
val displayText = "${state.displayName} $selected"
|
val displayText = "${state.displayName} $selected"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user