mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Halt early when not enabled
This commit is contained in:
@@ -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());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user