Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@mapswithme.com>2015-09-15 12:12:44 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:05:37 +0300
commit2d97f262c20a4cf62b85232cd372edb03ac57b2e (patch)
treea6b622f9b5f0110af2d32dc5020a4b140417976c
parent8201beb2faacdb133c59f37254556b9114429ac7 (diff)
[ios] Capitalized category name in search results.
-rw-r--r--iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchCommonCell.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchCommonCell.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchCommonCell.mm
index bf33ad288c..be2d3a3fcd 100644
--- a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchCommonCell.mm
+++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchCommonCell.mm
@@ -32,7 +32,7 @@
- (void)config:(search::Result &)result
{
[super config:result];
- self.typeLabel.text = @(result.GetFeatureType());
+ self.typeLabel.text = @(result.GetFeatureType()).capitalizedString;
NSUInteger starsCount = result.GetStarsCount();
NSString * cuisine = @(result.GetCuisine());