Halt early when not enabled

This commit is contained in:
M66B
2018-10-13 10:28:40 +00:00
parent f8f19ff05e
commit 48603f20b6
2 changed files with 8 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ public class FragmentOptions extends FragmentEx {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("enabled", checked).apply();
ServiceSynchronize.reload(getContext(), "enabled");
ServiceSynchronize.start(getContext());
}
});