Fix possible NPE
This commit is contained in:
parent
5fc82dbe1f
commit
293c42457d
1 changed files with 3 additions and 0 deletions
|
@ -416,6 +416,9 @@ public class MenuBuilder {
|
|||
}
|
||||
|
||||
private void startLoadingImages() {
|
||||
if (onlinePhotoCardsRow == null) {
|
||||
return;
|
||||
}
|
||||
onlinePhotoCards = new ArrayList<>();
|
||||
onlinePhotoCardsRow.setProgressCard();
|
||||
execute(new GetImageCardsTask(mapActivity, getLatLon(), getAdditionalCardParams(),
|
||||
|
|
Loading…
Reference in a new issue