Merge pull request #9075 from osmandapp/WikipediaPoi
return wikipedia poi type
This commit is contained in:
commit
cc740dc45b
1 changed files with 1 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue