diff options
author | Ilya Grechuhin <i.grechuhin@mapswithme.com> | 2015-08-10 11:21:40 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:00:04 +0300 |
commit | 3a9c947779ddf45aefcec2c323d2c806fc433312 (patch) | |
tree | 0046d2dca6ab38819bcf0c040d1cb5b0cad88df8 /iphone/Maps/Classes/MWMPlacePage.mm | |
parent | 96fd81f9e05f09af3115ff1a0413f15839ca725b (diff) |
[ios] Fixed incorrect bookmark button label.
Diffstat (limited to 'iphone/Maps/Classes/MWMPlacePage.mm')
-rw-r--r-- | iphone/Maps/Classes/MWMPlacePage.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/MWMPlacePage.mm b/iphone/Maps/Classes/MWMPlacePage.mm index cce642b69f..97aa66e9e3 100644 --- a/iphone/Maps/Classes/MWMPlacePage.mm +++ b/iphone/Maps/Classes/MWMPlacePage.mm @@ -47,8 +47,7 @@ extern NSString * const kAlohalyticsTapEventKey; [self.basePlacePageView configureWithEntity:entity]; MWMPlacePageEntityType type = entity.type; - BOOL const isBookmark = type == MWMPlacePageEntityTypeBookmark; - self.actionBar.bookmarkButton.selected = isBookmark; + self.actionBar.isBookmark = type == MWMPlacePageEntityTypeBookmark; BOOL const isMyPosition = type == MWMPlacePageEntityTypeMyPosition; [self.actionBar configureForMyPosition:isMyPosition]; |