Fix compilation

This commit is contained in:
Vitaliy 2020-07-07 11:42:28 +03:00
parent 44c8c904cf
commit 1b65e5076a

View file

@ -315,7 +315,7 @@ public class WikipediaPlugin extends OsmandPlugin {
} }
int mapsToDownloadCount = DownloadResources.findIndexItemsAt( int mapsToDownloadCount = DownloadResources.findIndexItemsAt(
app, mapActivity.getMapLocation(), DownloadActivityType.WIKIPEDIA_FILE, app, mapActivity.getMapLocation(), DownloadActivityType.WIKIPEDIA_FILE,
false, 1).size(); false, 1, false).size();
return mapsToDownloadCount > 0; return mapsToDownloadCount > 0;
} catch (IOException e) { } catch (IOException e) {
return false; return false;