diff --git a/iphone/Maps/Classes/MWMPlacePage.mm b/iphone/Maps/Classes/MWMPlacePage.mm index 92cb16495e..9c879bf75d 100644 --- a/iphone/Maps/Classes/MWMPlacePage.mm +++ b/iphone/Maps/Classes/MWMPlacePage.mm @@ -59,14 +59,14 @@ extern NSString * const kAlohalyticsTapEventKey; - (void)addBookmark { - [self.manager addBookmark]; [self.basePlacePageView addBookmark]; + [self.manager addBookmark]; } - (void)removeBookmark { - [self.manager removeBookmark]; [self.basePlacePageView removeBookmark]; + [self.manager removeBookmark]; self.keyboardHeight = 0.; } diff --git a/iphone/Maps/Classes/MWMPlacePageViewManager.mm b/iphone/Maps/Classes/MWMPlacePageViewManager.mm index bc2bdeed2b..9219eb8d85 100644 --- a/iphone/Maps/Classes/MWMPlacePageViewManager.mm +++ b/iphone/Maps/Classes/MWMPlacePageViewManager.mm @@ -222,6 +222,7 @@ typedef NS_ENUM(NSUInteger, MWMPlacePageManagerState) [NSNotificationCenter.defaultCenter postNotificationName:kBookmarksChangedNotification object:nil userInfo:nil]; + [self updateDistance]; } - (void)removeBookmark @@ -243,6 +244,7 @@ typedef NS_ENUM(NSUInteger, MWMPlacePageManagerState) [NSNotificationCenter.defaultCenter postNotificationName:kBookmarksChangedNotification object:nil userInfo:nil]; + [self updateDistance]; } - (void)reloadBookmark