1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 14:11:00 +00:00

Keep schedule enabled after global disable

This commit is contained in:
M66B 2019-11-13 09:38:16 +01:00
parent e94239b9fc
commit 4429cd870c

View file

@ -106,8 +106,6 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("enabled", checked).apply();
if (!checked)
swSchedule.setChecked(false);
ServiceSynchronize.reload(getContext(), true, "enabled=" + checked);
}
});