mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-25 02:15:45 +01:00
Small improvement
This commit is contained in:
@@ -293,7 +293,7 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
SharedPreferences.Editor editor = prefs.edit();
|
||||
for (String pref : new String[]{"check_blocklist"})
|
||||
for (String pref : new String[]{"check_blocklist", "auto_block_sender"})
|
||||
if (prefs.getBoolean(pref, false)) {
|
||||
editor.putBoolean(pref, false);
|
||||
EntityLog.log(context, "Disabled option=" + pref);
|
||||
|
||||
Reference in New Issue
Block a user