From ac57d0d6d43a5029aa010c4fee11c4df93fb092e Mon Sep 17 00:00:00 2001 From: Johannes Baiter Date: Wed, 29 Oct 2014 02:55:26 +0100 Subject: Fix filtering when loosening query --- .../main/java/com/zeapo/pwdstore/PasswordFragment.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'app') diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java b/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java index 4d433013..6058d169 100644 --- a/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java +++ b/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java @@ -129,13 +129,15 @@ public class PasswordFragment extends Fragment{ public void filterAdapter(String filter) { if (filter.isEmpty()) { updateAdapter(); - return; - } - for (int i=0; i