From 7f92f1d568c3a544791b34166aa8fa08fa91b531 Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Mon, 24 Jul 2017 17:19:32 +0300 Subject: [PATCH] [MAPSME-4971] [ios] Updated cian title in search categories. --- .../Search/TabbedView/CategoriesTab/MWMSearchCategoryCell.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iphone/Maps/UI/Search/TabbedView/CategoriesTab/MWMSearchCategoryCell.mm b/iphone/Maps/UI/Search/TabbedView/CategoriesTab/MWMSearchCategoryCell.mm index 5d47edbf30..31c2a6828a 100644 --- a/iphone/Maps/UI/Search/TabbedView/CategoriesTab/MWMSearchCategoryCell.mm +++ b/iphone/Maps/UI/Search/TabbedView/CategoriesTab/MWMSearchCategoryCell.mm @@ -27,16 +27,17 @@ extern NSString * const kCianCategory; - (void)setCategory:(NSString *)category { UILabel * label = self.label; - label.text = L(category); label.textColor = [UIColor blackPrimaryText]; self.icon.mwm_name = [NSString stringWithFormat:@"ic_%@", category]; if ([category isEqualToString:kCianCategory]) { + label.text = L(@"real_estate"); self.adIcon.hidden = NO; self.adIcon.mwm_name = @"logo_cian"; } else { + label.text = L(category); self.adIcon.hidden = YES; } }