mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Check for suitable internet connection
This commit is contained in:
@@ -288,7 +288,7 @@ public class FragmentFolders extends FragmentBase {
|
||||
protected Void onExecute(Context context, Bundle args) {
|
||||
long aid = args.getLong("account");
|
||||
|
||||
if (!Helper.isConnected(context))
|
||||
if (!Helper.suitableNetwork(context, false))
|
||||
throw new IllegalArgumentException(context.getString(R.string.title_no_internet));
|
||||
|
||||
DB db = DB.getInstance(context);
|
||||
|
||||
Reference in New Issue
Block a user