Fix progress for dashboard
This commit is contained in:
parent
25bdbfc502
commit
b20899e1a4
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue