Trim search

pull/198/head
M66B 4 years ago
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…
Cancel
Save