[ios] Color switch fix

This commit is contained in:
Igor Khmurets 2014-06-26 19:31:28 +03:00 committed by Alex Zolotarev
parent 386638521d
commit 93a7b9e32f

View file

@ -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];