Clear on fresh start

This commit is contained in:
M66B
2019-04-17 10:53:15 +02:00
parent e0ca27a9cc
commit 4a6ede366e
4 changed files with 26 additions and 13 deletions

View File

@@ -204,7 +204,7 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("enabled", checked).apply();
ServiceSynchronize.reload(getContext(), "enabled=" + checked);
ServiceSynchronize.reload(getContext(), true, "enabled=" + checked);
}
});