parent
6f9d49a940
commit
56014794fc
@ -41,6 +41,7 @@ import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.semantics.contentDescription
|
||||
import androidx.compose.ui.semantics.semantics
|
||||
import androidx.compose.ui.text.input.ImeAction
|
||||
import androidx.compose.ui.text.input.KeyboardCapitalization
|
||||
import androidx.compose.ui.unit.dp
|
||||
import de.mm20.launcher2.preferences.SearchBarStyle
|
||||
import de.mm20.launcher2.ui.R
|
||||
@ -184,7 +185,11 @@ fun SearchBar(
|
||||
value = value,
|
||||
onValueChange = onValueChange,
|
||||
cursorBrush = SolidColor(MaterialTheme.colorScheme.primary),
|
||||
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Go),
|
||||
keyboardOptions = KeyboardOptions(
|
||||
imeAction = ImeAction.Go,
|
||||
autoCorrectEnabled = false,
|
||||
capitalization = KeyboardCapitalization.None,
|
||||
),
|
||||
keyboardActions = KeyboardActions(
|
||||
onGo = onKeyboardActionGo,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user