forked from organicmaps/organicmaps
[iOS] Fixed crash in pp
This commit is contained in:
parent
358a5d3e55
commit
994ff926d8
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class PlacePageCommonLayout: NSObject, IPlacePageLayout {
|
|||
lazy var buttonsViewController: PlacePageButtonsViewController = {
|
||||
let vc = storyboard.instantiateViewController(ofType: PlacePageButtonsViewController.self)
|
||||
vc.buttonsData = placePageData.buttonsData!
|
||||
vc.buttonsEnabled = placePageData.mapNodeAttributes!.nodeStatus == .onDisk
|
||||
vc.buttonsEnabled = placePageData.mapNodeAttributes?.nodeStatus == .onDisk
|
||||
vc.delegate = interactor
|
||||
return vc
|
||||
} ()
|
||||
|
|
Loading…
Add table
Reference in a new issue