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() {
|
||||
setupRouteCalculationProgressBar(pb);
|
||||
mapRouteInfoMenu.routeCalculationStarted();
|
||||
RoutingHelper routingHelper = getRoutingHelper();
|
||||
if (routingHelper.isPublicTransportMode() || !routingHelper.isOsmandRouting()) {
|
||||
dashboardOnMap.updateRouteCalculationProgress(0);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue