Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
fcd0ded944
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ public class MapControlsLayer extends OsmandMapLayer {
|
|||
updateMyLocation(rh, dialogOpened);
|
||||
boolean showButtons = (showRouteCalculationControls || !routeFollowingMode);
|
||||
//routePlanningBtn.setIconResId(routeFollowingMode ? R.drawable.ic_action_gabout_dark : R.drawable.map_directions);
|
||||
if (routePlanningMode || routeFollowingMode) {
|
||||
if ((routePlanningMode || routeFollowingMode) && mapActivity.getMyApplication().getTargetPointsHelper().getPointToNavigate() != null) {
|
||||
routePlanningBtn.setIconResId(R.drawable.map_start_navigation);
|
||||
routePlanningBtn.setIconColorId(R.color.color_myloc_distance);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue