Hide back to location control in plan route mode
This commit is contained in:
parent
d190f7e3b1
commit
f2ce21534b
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ public class MapControlsLayer extends OsmandMapLayer {
|
|||
backToLocationControl.iv.setContentDescription(mapActivity.getString(R.string.map_widget_back_to_loc));
|
||||
}
|
||||
boolean visible = !(tracked && rh.isFollowingMode());
|
||||
backToLocationControl.updateVisibility(visible && !dialogOpened);
|
||||
backToLocationControl.updateVisibility(visible && !dialogOpened && !isInPlanRouteMode());
|
||||
if (app.accessibilityEnabled()) {
|
||||
backToLocationControl.iv.setClickable(enabled && visible);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue