forked from organicmaps/organicmaps
Merge pull request #58 from VladiMihaylenko/vm-master
[ios] Fixed bug with distance in place page.
This commit is contained in:
commit
5d146cab6f
2 changed files with 4 additions and 2 deletions
|
@ -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.;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue