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:
parent
9b1ce4bce2
commit
7f86abda81
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue