Keep schedule enabled after global disable

pull/168/head
M66B 5 years ago
parent e94239b9fc
commit 4429cd870c

@ -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…
Cancel
Save