Trim search

This commit is contained in:
M66B 2021-04-29 09:48:30 +02:00
parent 9ccef2608f
commit 4651fff05e
1 changed files with 1 additions and 1 deletions

View File

@ -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<>();