From 73cccfb940c38c5a18dca660965d86b3f57fe70c Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Fri, 20 Nov 2015 14:37:58 +0300 Subject: [PATCH] [ios] Fixed bug with missed next turn panel at iPad. --- .../NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm index 03f45267538..24380eecef8 100644 --- a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm +++ b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm @@ -24,7 +24,7 @@ - (instancetype)initWithTopView:(UIView *)view - (void)invalidateTopBounds:(NSArray *)panels topView:(UIView *)view { - if (IPAD || !panels.count) + if (!panels.count) return; self.topView = view; dispatch_async(dispatch_get_main_queue(), ^