Check for suitable internet connection

This commit is contained in:
M66B
2019-03-06 09:51:46 +00:00
parent 928ffe5d0e
commit d896671534
10 changed files with 23 additions and 32 deletions

View File

@@ -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);