Ignore spaces while searching

This commit is contained in:
M66B 2016-03-02 07:56:54 +01:00
parent 9b7bca9e8c
commit a4e05a6fc4
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ public class AdapterRule extends RecyclerView.Adapter<AdapterRule.ViewHolder> im
if (query == null)
listResult.addAll(listAll);
else {
query = query.toString().toLowerCase();
query = query.toString().toLowerCase().trim();
int uid;
try {
uid = Integer.parseInt(query.toString());