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 {
|
try {
|
||||||
for (DownloadActivityType type : types) {
|
for (DownloadActivityType type : types) {
|
||||||
IndexItem item = DownloadResources.findSmallestIndexItemAt(app, latLon, type);
|
IndexItem item = DownloadResources.findSmallestIndexItemAt(app, latLon, type);
|
||||||
if (item != null && !item.isDownloaded()) {
|
if (item != null && !item.isDownloaded() && !neededItems.contains(item)) {
|
||||||
neededItems.add(item);
|
neededItems.add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue