mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 03:43:55 +01:00
Keep network state
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.suitableNetwork(context, false))
|
||||
if (!Helper.getNetworkState(context).isSuitable())
|
||||
throw new IllegalArgumentException(context.getString(R.string.title_no_internet));
|
||||
|
||||
DB db = DB.getInstance(context);
|
||||
|
||||
Reference in New Issue
Block a user