Fix opr card update

This commit is contained in:
Vitaliy 2021-02-03 18:37:57 +02:00
parent f1cff27d62
commit 1d2d5350ab

View file

@ -111,6 +111,15 @@ public class OpenPlaceReviewsPlugin extends OsmandPlugin {
return imageCards;
}
@Override
protected ImageCard createContextMenuImageCard(@NonNull JSONObject imageObject) {
ImageCard imageCard = null;
if (mapActivity != null && imageObject != JSONObject.NULL) {
imageCard = createCardOpr(mapActivity, imageObject);
}
return imageCard;
}
private void getPicturesForPlace(List<ImageCard> result, String response) {
try {
if (!Algorithms.isEmpty(response)) {