Remove unnecessary Column usage

This commit is contained in:
Nebojsa Vuksic 2025-08-01 11:25:17 +02:00
parent 5bae830655
commit 0657ead6a5

View File

@ -51,10 +51,8 @@ internal fun <T> SearchBarWithAutoCompletion(
.collect { searchTerm -> popupController.onQueryChanged(searchTerm) } .collect { searchTerm -> popupController.onQueryChanged(searchTerm) }
} }
Column(modifier = modifier) {
Box( Box(
modifier = Modifier modifier = modifier
.fillMaxWidth()
.padding(8.dp) .padding(8.dp)
) { ) {
var textFieldWidth by remember { mutableIntStateOf(-1) } var textFieldWidth by remember { mutableIntStateOf(-1) }
@ -113,7 +111,6 @@ internal fun <T> SearchBarWithAutoCompletion(
} }
} }
} }
}
@Composable @Composable
internal fun CloseIconButton(onClick: () -> Unit) { internal fun CloseIconButton(onClick: () -> Unit) {