mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2025-12-05 06:11:52 +00:00
Remove unnecessary Column usage
This commit is contained in:
parent
5bae830655
commit
0657ead6a5
@ -51,10 +51,8 @@ internal fun <T> SearchBarWithAutoCompletion(
|
||||
.collect { searchTerm -> popupController.onQueryChanged(searchTerm) }
|
||||
}
|
||||
|
||||
Column(modifier = modifier) {
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
modifier = modifier
|
||||
.padding(8.dp)
|
||||
) {
|
||||
var textFieldWidth by remember { mutableIntStateOf(-1) }
|
||||
@ -99,7 +97,7 @@ internal fun <T> SearchBarWithAutoCompletion(
|
||||
) {
|
||||
popupController.filteredItems.forEach { item ->
|
||||
selectableItem(
|
||||
popupController. isItemSelected(item),
|
||||
popupController.isItemSelected(item),
|
||||
onClick = {
|
||||
onSelectCompletion(item)
|
||||
popupController.onItemAutocompleteConfirmed()
|
||||
@ -112,7 +110,6 @@ internal fun <T> SearchBarWithAutoCompletion(
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
|
||||
Loading…
Reference in New Issue
Block a user