mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 18:41:20 +01:00
Improved boot
This commit is contained in:
@@ -197,7 +197,7 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
|
||||
if (checked) {
|
||||
if (Helper.isPro(getContext())) {
|
||||
prefs.edit().putBoolean("schedule", true).apply();
|
||||
ServiceSynchronize.schedule(getContext());
|
||||
ServiceSynchronize.reschedule(getContext());
|
||||
} else {
|
||||
swSchedule.setChecked(false);
|
||||
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
|
||||
@@ -645,7 +645,7 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
|
||||
editor.putBoolean("schedule", true);
|
||||
editor.apply();
|
||||
|
||||
ServiceSynchronize.schedule(getContext());
|
||||
ServiceSynchronize.reschedule(getContext());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user