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:
parent
e94239b9fc
commit
4429cd870c
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue