From 63f06c3d39319a7bb547f2f180db13648a3fa379 Mon Sep 17 00:00:00 2001 From: androiddevkkotlin Date: Sun, 18 Oct 2020 12:52:16 +0300 Subject: [PATCH] [bug] category names in user defined search converted to lowercase --- OsmAnd-java/src/main/java/net/osmand/osm/MapPoiTypes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/osm/MapPoiTypes.java b/OsmAnd-java/src/main/java/net/osmand/osm/MapPoiTypes.java index f535af8610..e273fa4e7f 100644 --- a/OsmAnd-java/src/main/java/net/osmand/osm/MapPoiTypes.java +++ b/OsmAnd-java/src/main/java/net/osmand/osm/MapPoiTypes.java @@ -823,7 +823,7 @@ public class MapPoiTypes { } String name = keyName; name = name.replace('_', ' '); - return Algorithms.capitalizeFirstLetterAndLowercase(name); + return Algorithms.capitalizeFirstLetter(name); } public boolean isRegisteredType(PoiCategory t) {