Merge pull request #9454 from osmandapp/Fix_9377

Fix #9377
This commit is contained in:
Vitaliy 2020-07-17 13:10:58 +03:00 committed by GitHub
commit 9feac5ab4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1022,7 +1022,7 @@ public class MapInfoWidgetsFactory {
}
if (map.isTopToolbarActive() || !map.getContextMenu().shouldShowTopControls() || MapRouteInfoMenu.chooseRoutesVisible || MapRouteInfoMenu.waypointsVisible) {
updateVisibility(false);
} else if (!showClosestWaypointFirstInAddress && updateWaypoint()) {
} else if (showClosestWaypointFirstInAddress && updateWaypoint()) {
updateVisibility(true);
AndroidUiHelper.updateVisibility(addressText, false);
AndroidUiHelper.updateVisibility(addressTextShadow, false);