Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@gmail.com>2017-11-27 17:19:37 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2017-11-27 17:28:45 +0300
commit54eeceaa2e1b476a1c8c79d289112404db4a27bc (patch)
tree52c6f4295736164971155c164af81296af4219e9
parent69c223d1c435c0f93bbd2f7a8aa6ca673e3005b1 (diff)
[MAPSME-6070] [ios] Fixed route rebuild animation.
-rw-r--r--iphone/Maps/Core/Routing/MWMRouter.mm7
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