Merge pull request #10038 from osmandapp/Category-names-poi

[bug] category names in user defined search converted to lowercase
This commit is contained in:
vshcherb 2020-10-18 19:36:00 +02:00 committed by GitHub
commit ffbf3477ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -823,7 +823,7 @@ public class MapPoiTypes {
} }
String name = keyName; String name = keyName;
name = name.replace('_', ' '); name = name.replace('_', ' ');
return Algorithms.capitalizeFirstLetterAndLowercase(name); return Algorithms.capitalizeFirstLetter(name);
} }
public boolean isRegisteredType(PoiCategory t) { public boolean isRegisteredType(PoiCategory t) {