From 93a7b9e32faed391f0354da5d7bda640ecc8754f Mon Sep 17 00:00:00 2001 From: Igor Khmurets Date: Thu, 26 Jun 2014 19:31:28 +0300 Subject: [PATCH] [ios] Color switch fix --- iphone/Maps/Classes/PlacePageView.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iphone/Maps/Classes/PlacePageView.mm b/iphone/Maps/Classes/PlacePageView.mm index f01c38ee0a..490ce3219f 100644 --- a/iphone/Maps/Classes/PlacePageView.mm +++ b/iphone/Maps/Classes/PlacePageView.mm @@ -531,7 +531,8 @@ typedef NS_ENUM(NSUInteger, CellRow) ASSERT([self isBookmark], ()); PlacePageInfoCell * cell = (PlacePageInfoCell *)[self.tableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:ROW_COMMON inSection:0]]; UIColor * color = [ColorPickerView colorForName:[ColorPickerView colorName:colorIndex]]; - [cell setColor:color]; + cell.color = color; + [cell layoutSubviews]; Framework & framework = GetFramework(); UserMark const * mark = [self userMark];