mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 23:56:07 +02:00
Trim search
This commit is contained in:
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user