mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 04:45:50 +01:00
Reschedule on turning scheduling on
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user