Merge pull request #877 from Bars107/downloads
Fixed null pointer in downloadIndexThread
This commit is contained in:
commit
bb6ea056e8
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ 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);
|
||||
uiFragment.getDownloadActivity().findViewById(R.id.DownloadButton).setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
if (indexFiles.isIncreasedMapVersion()) {
|
||||
|
|
Loading…
Reference in a new issue