Show 'stop routing' already while route is being calculated
This commit is contained in:
parent
fa7a3c2996
commit
706d59527d
1 changed files with 1 additions and 1 deletions
|
@ -1038,7 +1038,7 @@ public class MapActivity extends TrackedActivity implements IMapLocationListener
|
||||||
MenuItem navigateToPointMenu = menu.findItem(R.id.map_navigate_to_point);
|
MenuItem navigateToPointMenu = menu.findItem(R.id.map_navigate_to_point);
|
||||||
if (navigateToPointMenu != null) {
|
if (navigateToPointMenu != null) {
|
||||||
if (settings.getPointToNavigate() != null) {
|
if (settings.getPointToNavigate() != null) {
|
||||||
navigateToPointMenu.setTitle(routingHelper.isRouteCalculated() ? R.string.stop_routing : R.string.stop_navigation);
|
navigateToPointMenu.setTitle((routingHelper.isRouteCalculated() || routingHelper.isFollowingMode()) ? R.string.stop_routing : R.string.stop_navigation);
|
||||||
navigateToPointMenu.setVisible(true);
|
navigateToPointMenu.setVisible(true);
|
||||||
} else {
|
} else {
|
||||||
navigateToPointMenu.setVisible(false);
|
navigateToPointMenu.setVisible(false);
|
||||||
|
|
Loading…
Reference in a new issue