Fixed bug with navigation dialog being opened every time
This commit is contained in:
parent
12e751abd9
commit
07cac3e3c1
1 changed files with 3 additions and 1 deletions
|
@ -87,7 +87,9 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio
|
|||
public void showControls(FrameLayout parent) {
|
||||
infoButton = addButton(parent, R.string.route_info, R.drawable.map_btn_signpost);
|
||||
if (showDialog){
|
||||
showDialog();
|
||||
if (getTargets().getPointToNavigate() == null){
|
||||
showDialog();
|
||||
}
|
||||
showDialog = false;
|
||||
}
|
||||
controlVisible = true;
|
||||
|
|
Loading…
Reference in a new issue