1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Trim search

This commit is contained in:
M66B 2021-04-29 09:48:30 +02:00
parent 9ccef2608f
commit 4651fff05e

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