From 3fd36ba47f664594211984284fdf89d71c772ddf Mon Sep 17 00:00:00 2001 From: Nazar-Kutz Date: Mon, 25 May 2020 14:15:16 +0300 Subject: [PATCH] return wikipedia poi type --- OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java b/OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java index d24109f6f2..8e30fb274f 100644 --- a/OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java +++ b/OsmAnd/src/net/osmand/plus/poi/PoiFiltersHelper.java @@ -340,11 +340,7 @@ public class PoiFiltersHelper { public List getSortedPoiFilters(@NonNull ApplicationMode appMode, boolean onlyActive) { initPoiUIFiltersState(appMode); List allFilters = new ArrayList<>(); - for (PoiUIFilter filter : getTopDefinedPoiFilters()) { - if (!filter.isWikiFilter()) { - allFilters.add(filter); - } - } + allFilters.addAll(getTopDefinedPoiFilters()); allFilters.addAll(getSearchPoiFilters()); Collections.sort(allFilters); if (onlyActive) {