From cb15d78abb30c57cece5dafb8d60d67ba662c79d Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 27 Aug 2020 08:37:23 +0200 Subject: [PATCH] By default do not limit searches --- app/src/main/java/eu/faircode/email/FragmentDialogSearch.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentDialogSearch.java b/app/src/main/java/eu/faircode/email/FragmentDialogSearch.java index 9308fdd00a..dae96f5881 100644 --- a/app/src/main/java/eu/faircode/email/FragmentDialogSearch.java +++ b/app/src/main/java/eu/faircode/email/FragmentDialogSearch.java @@ -48,8 +48,6 @@ public class FragmentDialogSearch extends FragmentDialogBase { final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); boolean fts = prefs.getBoolean("fts", false); - boolean filter_seen = prefs.getBoolean("filter_seen", false); - boolean filter_unflagged = prefs.getBoolean("filter_unflagged", false); boolean last_search_senders = prefs.getBoolean("last_search_senders", true); boolean last_search_recipients = prefs.getBoolean("last_search_recipients", true); boolean last_search_subject = prefs.getBoolean("last_search_subject", true); @@ -239,8 +237,6 @@ public class FragmentDialogSearch extends FragmentDialogBase { cbSubject.setChecked(last_search_subject); cbKeywords.setChecked(last_search_keywords); cbMessage.setChecked(last_search_message); - cbUnseen.setChecked(filter_seen); - cbFlagged.setChecked(filter_unflagged); tvAfter.setText(null); tvBefore.setText(null);