forked from organicmaps/organicmaps
[new downloader][android] fix: Do not show "3G" dialog if no connection found.
This commit is contained in:
parent
708edba8c4
commit
188aebc16f
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ public final class MapManager
|
|||
|
||||
public static boolean warnDownloadOn3g(Activity activity, @NonNull final Runnable onAcceptListener)
|
||||
{
|
||||
if (sSkip3gCheck || ConnectionState.isWifiConnected())
|
||||
if (sSkip3gCheck || !ConnectionState.isMobileConnected())
|
||||
{
|
||||
onAcceptListener.run();
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue