From 4591866a713689c26934e5207cd912ff2d39ef96 Mon Sep 17 00:00:00 2001 From: Chumva Date: Tue, 20 Mar 2018 19:17:06 +0200 Subject: [PATCH] refactored some code --- OsmAnd/src/net/osmand/plus/search/QuickSearchListAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/search/QuickSearchListAdapter.java b/OsmAnd/src/net/osmand/plus/search/QuickSearchListAdapter.java index d786258b1b..872cc51097 100644 --- a/OsmAnd/src/net/osmand/plus/search/QuickSearchListAdapter.java +++ b/OsmAnd/src/net/osmand/plus/search/QuickSearchListAdapter.java @@ -375,6 +375,7 @@ public class QuickSearchListAdapter extends ArrayAdapter { String searchPhrase = searchUICore.getPhrase().getText(true); SearchPhrase.NameStringMatcher nm = new SearchPhrase.NameStringMatcher(searchPhrase, CollatorStringMatcher.StringMatcherMode.CHECK_EQUALS_FROM_SPACE); + for (String syn : synonyms) { if (nm.matches(abstractPoiType.getEnTranslation())) { desc = listItem.getTypeName() + " (" + abstractPoiType.getEnTranslation() + ")";