POI multiselection: combine with custom filter
This commit is contained in:
parent
6944f76748
commit
f26bb32956
1 changed files with 2 additions and 1 deletions
|
@ -497,7 +497,8 @@ public class PoiUIFilter implements SearchPoiTypeFilter, Comparable<PoiUIFilter>
|
|||
public static void combineStandardPoiFilters(Set<PoiUIFilter> filters, OsmandApplication app) {
|
||||
Set<PoiUIFilter> standardFilters = new TreeSet<>();
|
||||
for (PoiUIFilter filter : filters) {
|
||||
if (filter.isStandardFilter() && filter.filterId.startsWith(PoiUIFilter.STD_PREFIX)) {
|
||||
if ((filter.isStandardFilter() && filter.filterId.startsWith(PoiUIFilter.STD_PREFIX))
|
||||
|| filter.filterId.startsWith(PoiUIFilter.CUSTOM_FILTER_ID)) {
|
||||
standardFilters.add(filter);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue