diff options
author | v.mikhaylenko <v.mikhaylenko@corp.mail.ru> | 2015-08-10 17:14:09 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:00:32 +0300 |
commit | 5fa3fa82b98b325338ca08e95ddc040ba758e23c (patch) | |
tree | c257392baedae64ec93e998f624c1483b5b1a8e9 /iphone/Maps/Classes/MWMPlacePage.mm | |
parent | 46ce528e789c8155fabdd74ab713e311c853f56c (diff) |
[ios] Added back API button to place page.
Diffstat (limited to 'iphone/Maps/Classes/MWMPlacePage.mm')
-rw-r--r-- | iphone/Maps/Classes/MWMPlacePage.mm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/iphone/Maps/Classes/MWMPlacePage.mm b/iphone/Maps/Classes/MWMPlacePage.mm index 97aa66e9e3..2581ff5ae4 100644 --- a/iphone/Maps/Classes/MWMPlacePage.mm +++ b/iphone/Maps/Classes/MWMPlacePage.mm @@ -45,12 +45,7 @@ extern NSString * const kAlohalyticsTapEventKey; { MWMPlacePageEntity * entity = self.manager.entity; [self.basePlacePageView configureWithEntity:entity]; - - MWMPlacePageEntityType type = entity.type; - self.actionBar.isBookmark = type == MWMPlacePageEntityTypeBookmark; - - BOOL const isMyPosition = type == MWMPlacePageEntityTypeMyPosition; - [self.actionBar configureForMyPosition:isMyPosition]; + [self.actionBar configureWithPlacePage:self]; } - (void)show @@ -66,6 +61,10 @@ extern NSString * const kAlohalyticsTapEventKey; } #pragma mark - Actions +- (void)apiBack +{ + [self.manager apiBack]; +} - (void)addBookmark { |