return wikipedia poi type

This commit is contained in:
Nazar-Kutz 2020-05-25 14:15:16 +03:00
parent 9ca1dbd9cf
commit 3fd36ba47f

View file

@ -340,11 +340,7 @@ public class PoiFiltersHelper {
public List<PoiUIFilter> getSortedPoiFilters(@NonNull ApplicationMode appMode, boolean onlyActive) {
initPoiUIFiltersState(appMode);
List<PoiUIFilter> allFilters = new ArrayList<>();
for (PoiUIFilter filter : getTopDefinedPoiFilters()) {
if (!filter.isWikiFilter()) {
allFilters.add(filter);
}
}
allFilters.addAll(getTopDefinedPoiFilters());
allFilters.addAll(getSearchPoiFilters());
Collections.sort(allFilters);
if (onlyActive) {