Fix progress for dashboard

This commit is contained in:
Chumva 2019-11-19 10:10:28 +02:00
parent 25bdbfc502
commit b20899e1a4

View file

@ -496,6 +496,10 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
public void start() { public void start() {
setupRouteCalculationProgressBar(pb); setupRouteCalculationProgressBar(pb);
mapRouteInfoMenu.routeCalculationStarted(); mapRouteInfoMenu.routeCalculationStarted();
RoutingHelper routingHelper = getRoutingHelper();
if (routingHelper.isPublicTransportMode() || !routingHelper.isOsmandRouting()) {
dashboardOnMap.updateRouteCalculationProgress(0);
}
} }
@Override @Override