Fix "Wikipedia still suggested to download after downloading one map"
This commit is contained in:
parent
e9a1fe7d77
commit
ee3476b3e9
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@ public class WikipediaPoiMenu {
|
|||
IndexItem currentDownloadingItem = downloadThread.getCurrentDownloadingItem();
|
||||
int currentDownloadingProgress = downloadThread.getCurrentDownloadingItemProgress();
|
||||
List<IndexItem> wikiIndexes = DownloadResources.findIndexItemsAt(
|
||||
app, mapActivity.getMapLocation(), DownloadActivityType.WIKIPEDIA_FILE);
|
||||
app, mapActivity.getMapLocation(), DownloadActivityType.WIKIPEDIA_FILE,
|
||||
false, -1, true);
|
||||
if (wikiIndexes.size() > 0) {
|
||||
adapter.addItem(new ContextMenuItem.ItemBuilder()
|
||||
.setTitleId(R.string.shared_string_download_map, mapActivity)
|
||||
|
|
Loading…
Reference in a new issue