mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-21 14:29:13 +00:00
Merge pull request #1467 from alexbakker/trim-search
Trim spaces from the search filter
This commit is contained in:
commit
20c5236cfa
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ public class EntryAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
}
|
||||
|
||||
public void setSearchFilter(String search) {
|
||||
_searchFilter = (search != null && !search.isEmpty()) ? search.toLowerCase() : null;
|
||||
_searchFilter = (search != null && !search.isEmpty()) ? search.toLowerCase().trim() : null;
|
||||
updateShownEntries();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue