Fix maps duplication
This commit is contained in:
parent
f1ec563dbb
commit
d8940f180d
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ public class ExploreTabFragment extends BaseOsmAndFragment implements DownloadIn
|
|||
try {
|
||||
for (DownloadActivityType type : types) {
|
||||
IndexItem item = DownloadResources.findSmallestIndexItemAt(app, latLon, type);
|
||||
if (item != null && !item.isDownloaded()) {
|
||||
if (item != null && !item.isDownloaded() && !neededItems.contains(item)) {
|
||||
neededItems.add(item);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue