Trim options query

This commit is contained in:
M66B 2022-03-19 20:14:51 +01:00
parent a75335e67d
commit 91666640c0
1 changed files with 2 additions and 0 deletions

View File

@ -342,6 +342,8 @@ public class FragmentOptions extends FragmentBase {
@Override
public boolean onQueryTextChange(String newText) {
if (newText != null)
newText = newText.trim();
searching = newText;
suggest(newText);
return false;