mirror of https://github.com/M66B/FairEmail.git
Trim search
This commit is contained in:
parent
9ccef2608f
commit
4651fff05e
|
@ -330,7 +330,7 @@ public class FragmentDialogSearch extends FragmentDialogBase {
|
|||
public void onClick(DialogInterface dialog, int which) {
|
||||
BoundaryCallbackMessages.SearchCriteria criteria = new BoundaryCallbackMessages.SearchCriteria();
|
||||
|
||||
criteria.query = etQuery.getText().toString();
|
||||
criteria.query = etQuery.getText().toString().trim();
|
||||
|
||||
if (!TextUtils.isEmpty(criteria.query)) {
|
||||
List<String> searches = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue