Merge pull request #58 from VladiMihaylenko/vm-master

[ios] Fixed bug with distance in place page.
This commit is contained in:
Илья Гречухин 2015-09-29 14:39:26 +03:00
commit 5d146cab6f
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