forked from organicmaps/organicmaps
[MAPSME-4971] [ios] Updated cian title in search categories.
This commit is contained in:
parent
da7362e943
commit
7f92f1d568
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue