This commit is contained in:
Victor Shcherb 2014-09-19 08:37:59 +02:00
parent eb6682dc5c
commit 9c0c5fc98d

View file

@ -391,7 +391,9 @@ public class DownloadIndexesThread {
uiFragment.getDownloadActivity().getEntriesToDownload().put(basemap, downloadEntry);
AccessibleToast.makeText(uiFragment.getDownloadActivity(), R.string.basemap_was_selected_to_download,
Toast.LENGTH_LONG).show();
uiFragment.findViewById(R.id.DownloadButton).setVisibility(View.VISIBLE);
if(uiFragment.findViewById(R.id.DownloadButton) != null) {
uiFragment.findViewById(R.id.DownloadButton).setVisibility(View.VISIBLE);
}
}
}
if (indexFiles.isIncreasedMapVersion()) {