diff --git a/app/ui/src/main/java/de/mm20/launcher2/ui/component/SearchBar.kt b/app/ui/src/main/java/de/mm20/launcher2/ui/component/SearchBar.kt index 84c2e068..0e34ade4 100644 --- a/app/ui/src/main/java/de/mm20/launcher2/ui/component/SearchBar.kt +++ b/app/ui/src/main/java/de/mm20/launcher2/ui/component/SearchBar.kt @@ -177,15 +177,9 @@ fun SearchBar( value = value, onValueChange = onValueChange, cursorBrush = SolidColor(MaterialTheme.colorScheme.primary), - keyboardOptions = KeyboardOptions( - imeAction = if (onKeyboardActionGo == null) { - ImeAction.Search - } else { - ImeAction.Go - } - ), + keyboardOptions = KeyboardOptions(imeAction = ImeAction.Go), keyboardActions = KeyboardActions( - onGo = onKeyboardActionGo + onGo = onKeyboardActionGo, ) ) }