Fixed issue with wrong type maps downloading(roads only)

This commit is contained in:
Denis 2014-11-17 17:41:39 +02:00
parent 4d565a3ba8
commit 6a29e8ab2f

View file

@ -84,7 +84,7 @@ public class UpdatesIndexFragment extends SherlockListFragment {
return; return;
} }
List<DownloadEntry> download = e.createDownloadEntry(getMyApplication(), getDownloadActivity().getDownloadType(), new ArrayList<DownloadEntry>()); List<DownloadEntry> download = e.createDownloadEntry(getMyApplication(), e.getType(), new ArrayList<DownloadEntry>());
if (download.size() > 0) { if (download.size() > 0) {
getDownloadActivity().getEntriesToDownload().put(e, download); getDownloadActivity().getEntriesToDownload().put(e, download);
getDownloadActivity().updateDownloadButton(true); getDownloadActivity().updateDownloadButton(true);