diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/MWMMapViewControlsManager.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/MWMMapViewControlsManager.mm index 26144cf044..a94ecfeab8 100644 --- a/iphone/Maps/Classes/CustomViews/MapViewControls/MWMMapViewControlsManager.mm +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/MWMMapViewControlsManager.mm @@ -151,12 +151,6 @@ extern NSString * const kAlohalyticsTapEventKey; auto show = ^(place_page::Info const & info) { self.trafficButtonHidden = YES; [self.placePageManager show:info]; - if (IPAD) - { - auto ownerView = self.ownerController.view; - [ownerView bringSubviewToFront:self.menuController.view]; - [ownerView bringSubviewToFront:self.navigationManager.routePreview]; - } }; using namespace network_policy; diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPadPlacePageLayoutImpl.mm b/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPadPlacePageLayoutImpl.mm index fbd619a38c..bb5ad91d9a 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPadPlacePageLayoutImpl.mm +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPadPlacePageLayoutImpl.mm @@ -60,7 +60,7 @@ CGFloat const kBottomOffset = 60; actionBar.alpha = 0; ppView.alpha = 0; ppView.origin = {- kPlacePageWidth, self.topBound}; - [self.ownerView addSubview:ppView]; + [self.ownerView insertSubview:ppView atIndex:0]; place_page_layout::animate(^{ ppView.alpha = 1;