diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPadPlacePageLayoutImpl.mm b/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPadPlacePageLayoutImpl.mm index 787c3a39a5..19189b4fec 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPadPlacePageLayoutImpl.mm +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPadPlacePageLayoutImpl.mm @@ -31,6 +31,7 @@ CGFloat const kBottomOffset = 36; if (self) { _ownerView = ownerView; + _availableArea = ownerView.frame; self.placePageView = placePageView; placePageView.tableView.delegate = self; _delegate = delegate; diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPhonePlacePageLayoutImpl.mm b/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPhonePlacePageLayoutImpl.mm index 42dc44f261..e7dd5db547 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPhonePlacePageLayoutImpl.mm +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPhonePlacePageLayoutImpl.mm @@ -57,6 +57,7 @@ CGFloat const kMinOffset = 1; { auto const & size = ownerView.size; _ownerView = ownerView; + _availableArea = ownerView.frame; _placePageView = placePageView; placePageView.tableView.delegate = self; _delegate = delegate;