commit
1cac52f7d9
1 changed files with 2 additions and 2 deletions
|
@ -1575,8 +1575,8 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
|
||||||
}
|
}
|
||||||
setupViaText(mainView);
|
setupViaText(mainView);
|
||||||
|
|
||||||
FrameLayout viaButton = (FrameLayout) mainView.findViewById(R.id.via_button);
|
FrameLayout viaButton = mainView.findViewById(R.id.via_button);
|
||||||
AndroidUiHelper.updateVisibility(viaButton, isFinishPointFromTrack());
|
AndroidUiHelper.updateVisibility(viaButton, routeParams == null || isFinishPointFromTrack());
|
||||||
viaButton.setOnClickListener(new OnClickListener() {
|
viaButton.setOnClickListener(new OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
|
Loading…
Reference in a new issue