Optional force reload

This commit is contained in:
M66B
2020-03-30 13:07:37 +02:00
parent b330518620
commit 7b617e4d7c
8 changed files with 24 additions and 22 deletions

View File

@@ -207,7 +207,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("auto_optimize", checked).apply();
ServiceSynchronize.reload(getContext(), null, "optimize");
ServiceSynchronize.reload(getContext(), null, false, "optimize");
}
});