mirror of https://github.com/M66B/FairEmail.git
Reschedule on turning scheduling on
This commit is contained in:
parent
08d4d9e851
commit
dfed6cd8b0
|
@ -134,7 +134,7 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
|
||||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||||
prefs.edit().putBoolean("schedule", checked).apply();
|
prefs.edit().putBoolean("schedule", checked).apply();
|
||||||
if (checked)
|
if (checked)
|
||||||
swEnabled.setChecked(true);
|
ServiceSynchronize.reschedule(getContext());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue