From 54eeceaa2e1b476a1c8c79d289112404db4a27bc Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Mon, 27 Nov 2017 17:19:37 +0300 Subject: [MAPSME-6070] [ios] Fixed route rebuild animation. --- iphone/Maps/Core/Routing/MWMRouter.mm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/iphone/Maps/Core/Routing/MWMRouter.mm b/iphone/Maps/Core/Routing/MWMRouter.mm index b006b9006e..7999d4bc62 100644 --- a/iphone/Maps/Core/Routing/MWMRouter.mm +++ b/iphone/Maps/Core/Routing/MWMRouter.mm @@ -636,8 +636,11 @@ void logPointEvent(MWMRoutePoint * point, NSString * eventType) - (void)processRouteBuilderProgress:(CGFloat)progress { - if (![MWMRouter isTaxi]) - [[MWMNavigationDashboardManager manager] setRouteBuilderProgress:progress]; + if ([MWMRouter isTaxi]) + return; + auto navigationManager = [MWMNavigationDashboardManager manager]; + [navigationManager onRoutePlanning]; + [navigationManager setRouteBuilderProgress:progress]; } - (void)processRouteRecommendation:(MWMRouterRecommendation)recommendation -- cgit v1.2.3