Reschedule on turning scheduling on

This commit is contained in:
M66B 2019-08-04 08:49:00 +02:00
parent 08d4d9e851
commit dfed6cd8b0
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("schedule", checked).apply();
if (checked)
swEnabled.setChecked(true);
ServiceSynchronize.reschedule(getContext());
}
});