diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2017-11-27 17:19:37 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2017-11-27 17:28:45 +0300 |
commit | 54eeceaa2e1b476a1c8c79d289112404db4a27bc (patch) | |
tree | 52c6f4295736164971155c164af81296af4219e9 | |
parent | 69c223d1c435c0f93bbd2f7a8aa6ca673e3005b1 (diff) |
[MAPSME-6070] [ios] Fixed route rebuild animation.
-rw-r--r-- | iphone/Maps/Core/Routing/MWMRouter.mm | 7 |
1 files 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 |