Fixed bug with distance in place page.

Signed-off-by: v.mikhaylenko <v.mikhaylenko@corp.mail.ru>
This commit is contained in:
v.mikhaylenko 2015-09-29 13:58:22 +03:00
parent a282d3a0fc
commit 3455d3cb50
2 changed files with 4 additions and 2 deletions

View file

@ -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.;
}

View file

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