diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 519b14b64f..97db698d63 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1808,7 +1808,10 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences return; } - if (networkState == null || accountStates == null) + if (networkState == null) + networkState = ConnectionHelper.getNetworkState(ServiceSynchronize.this); + + if (accountStates == null) return; SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(ServiceSynchronize.this);