mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-20 05:49:13 +00:00
Trim spaces from the search filter
This commit is contained in:
parent
2add8aab14
commit
7e1daf731f
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) {
|
public void setSearchFilter(String search) {
|
||||||
_searchFilter = (search != null && !search.isEmpty()) ? search.toLowerCase() : null;
|
_searchFilter = (search != null && !search.isEmpty()) ? search.toLowerCase().trim() : null;
|
||||||
updateShownEntries();
|
updateShownEntries();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue