Merge pull request #9075 from osmandapp/WikipediaPoi

return wikipedia poi type
This commit is contained in:
vshcherb 2020-05-26 11:30:50 +02:00 committed by GitHub
commit cc740dc45b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {