mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Fixed polling without schedule
This commit is contained in:
@@ -148,8 +148,7 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
prefs.edit().putBoolean("schedule", checked).apply();
|
||||
if (checked)
|
||||
ServiceSynchronize.reschedule(getContext());
|
||||
ServiceSynchronize.reschedule(getContext());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user