This commit is contained in:
Chumva 2018-04-17 17:14:33 +03:00
parent 23f1ddac86
commit 293b206e00

View file

@ -155,7 +155,7 @@ public class MapMarkersGroupsAdapter extends RecyclerView.Adapter<RecyclerView.V
GroupHeader header = group.getGroupHeader();
items.add(header);
if (!group.isDisabled()) {
if (!group.getWptCategories().isEmpty()) {
if (group.getWptCategories() != null && !group.getWptCategories().isEmpty()) {
MapMarkersHelper.CategoriesSubHeader categoriesSubHeader = group.getCategoriesSubHeader();
items.add(categoriesSubHeader);
}