diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java index d7f010cee8..61ae97a9c8 100644 --- a/app/src/main/java/eu/faircode/email/FragmentSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java @@ -811,7 +811,7 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS @Override public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { - if ("poll_interval".equals(key)) + if ("poll_interval".equals(key) && cbAlways != null) cbAlways.setChecked(ServiceSynchronize.getPollInterval(getContext()) == 0); }