forked from organicmaps/organicmaps
[ios] crash after bookmark group modify is fixed
This commit is contained in:
parent
c467b7a40c
commit
46e1b7ed15
3 changed files with 8 additions and 1 deletions
|
@ -136,7 +136,7 @@ void RegisterEventIfPossible(eye::MapObject::Event::Type const type, place_page:
|
|||
self.data = [[MWMPlacePageData alloc] initWithPlacePageInfo:info];
|
||||
[self.data fillSections];
|
||||
[self setupSpeedAndDistance];
|
||||
[self.layout checkCellsVisible];
|
||||
[self.layout updateWithData:self.data];
|
||||
}
|
||||
|
||||
- (BOOL)isPPShown {
|
||||
|
|
|
@ -36,6 +36,7 @@ enum class NodeStatus;
|
|||
dataSource:(id<MWMPlacePageLayoutDataSource>)dataSource;
|
||||
|
||||
- (void)showWithData:(MWMPlacePageData *)data;
|
||||
- (void)updateWithData:(MWMPlacePageData *)data;
|
||||
- (void)close;
|
||||
|
||||
- (void)mwm_refreshUI;
|
||||
|
|
|
@ -130,6 +130,12 @@ map<MetainfoRows, Class> const kMetaInfoCells = {
|
|||
});
|
||||
}
|
||||
|
||||
- (void)updateWithData:(MWMPlacePageData *)data;
|
||||
{
|
||||
self.data = data;
|
||||
[self checkCellsVisible];
|
||||
}
|
||||
|
||||
- (void)rotateDirectionArrowToAngle:(CGFloat)angle
|
||||
{
|
||||
[self.previewLayoutHelper rotateDirectionArrowToAngle:angle];
|
||||
|
|
Loading…
Add table
Reference in a new issue