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:
Diffstat (limited to 'iphone/Maps/Bookmarks/BookmarksVC.mm')
-rw-r--r--iphone/Maps/Bookmarks/BookmarksVC.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/iphone/Maps/Bookmarks/BookmarksVC.mm b/iphone/Maps/Bookmarks/BookmarksVC.mm
index a7c1f68340..6c162e37d8 100644
--- a/iphone/Maps/Bookmarks/BookmarksVC.mm
+++ b/iphone/Maps/Bookmarks/BookmarksVC.mm
@@ -166,8 +166,9 @@ extern NSString * const kBookmarksChangedNotification = @"BookmarksChangedNotifi
cell.detailTextLabel.text = [NSString stringWithFormat:@"%@ %@", L(@"length"), [NSString stringWithUTF8String:dist.c_str()]];
else
cell.detailTextLabel.text = nil;
- const graphics::Color c = tr->GetMainColor();
- cell.imageView.image = [CircleView createCircleImageWith:PINDIAMETER andColor:[UIColor colorWithRed:c.r/255.f green:c.g/255.f blue:c.b/255.f alpha:1.f]];
+ const dp::Color c = tr->GetMainColor();
+ cell.imageView.image = [CircleView createCircleImageWith:PINDIAMETER andColor:[UIColor colorWithRed:c.GetRed()/255.f green:c.GetGreen()/255.f
+ blue:c.GetBlue()/255.f alpha:1.f]];
}
// Contains bookmarks list
else if (indexPath.section == m_bookmarkSection)