mirror of https://github.com/M66B/FairEmail.git
Trim options query
This commit is contained in:
parent
a75335e67d
commit
91666640c0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue