small fix
This commit is contained in:
parent
e6ad6f3c38
commit
42ea7d1d7e
1 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,8 @@ public class PoiUiFiltersSettingsItem extends CollectionSettingsItem<PoiUIFilter
|
||||||
LinkedHashSet<String> poiTypes = acceptedTypes.get(category);
|
LinkedHashSet<String> poiTypes = acceptedTypes.get(category);
|
||||||
if (poiTypes == null) {
|
if (poiTypes == null) {
|
||||||
poiTypes = new LinkedHashSet<>();
|
poiTypes = new LinkedHashSet<>();
|
||||||
for (PoiType poiType : category.getPoiTypes()) {
|
List<PoiType> types = category.getPoiTypes();
|
||||||
|
for (PoiType poiType : types) {
|
||||||
poiTypes.add(poiType.getKeyName());
|
poiTypes.add(poiType.getKeyName());
|
||||||
}
|
}
|
||||||
acceptedTypes.put(category, poiTypes);
|
acceptedTypes.put(category, poiTypes);
|
||||||
|
|
Loading…
Reference in a new issue