From 2fed22c08a911368a7efcba5ed66b6f86beb2dd7 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 26 Jun 2021 15:18:26 +0200 Subject: [PATCH] Leave blocklists visible --- .../main/java/eu/faircode/email/FragmentOptionsSynchronize.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsSynchronize.java b/app/src/main/java/eu/faircode/email/FragmentOptionsSynchronize.java index 970712682d..048e3d3b2a 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsSynchronize.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsSynchronize.java @@ -345,7 +345,6 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { prefs.edit().putBoolean("check_blocklist", checked).apply(); swUseBlocklist.setEnabled(checked); - rvBlocklist.setVisibility(checked ? View.VISIBLE : View.GONE); } }); @@ -457,7 +456,6 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr swCheckReply.setChecked(prefs.getBoolean("check_reply_domain", true)); swCheckMx.setChecked(prefs.getBoolean("check_mx", false)); swCheckBlocklist.setChecked(prefs.getBoolean("check_blocklist", false)); - rvBlocklist.setVisibility(swCheckBlocklist.isChecked() ? View.VISIBLE : View.GONE); swUseBlocklist.setChecked(prefs.getBoolean("use_blocklist", false)); swUseBlocklist.setEnabled(swCheckBlocklist.isChecked()); swTuneKeepAlive.setChecked(prefs.getBoolean("tune_keep_alive", true));