1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-21 21:57:19 +00:00

Small behavior improvement

This commit is contained in:
M66B 2021-07-17 17:59:15 +02:00
parent 9b1ce4bce2
commit 7f86abda81
3 changed files with 3 additions and 3 deletions

View file

@ -399,7 +399,7 @@ public class FragmentAccounts extends FragmentBase {
if (outbox)
ServiceSend.start(context);
if (!now)
if (!now && !args.getBoolean("force"))
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
return null;

View file

@ -421,7 +421,7 @@ public class FragmentFolders extends FragmentBase {
if (outbox)
ServiceSend.start(context);
if (!now)
if (!now && !args.getBoolean("force"))
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
return null;

View file

@ -1607,7 +1607,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
else
ServiceSynchronize.eval(context, "refresh");
if (!now)
if (!now && !args.getBoolean("force"))
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
return null;