Fix reverse track availability
This commit is contained in:
parent
41e4654a62
commit
db17418c4f
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ public class FollowTrackFragment extends ContextMenuScrollFragment implements Ca
|
|||
GPXRouteParamsBuilder rparams = routingHelper.getCurrentGPXRoute();
|
||||
boolean osmandRouter = mode.getRouteService() == RouteProvider.RouteService.OSMAND;
|
||||
if (rparams != null && osmandRouter) {
|
||||
boolean showReverseCard = !gpxFile.hasRoute() || gpxFile.hasRtePt();
|
||||
boolean showReverseCard = !routingHelper.isCurrentGPXRouteV2();
|
||||
if (showReverseCard) {
|
||||
cardsContainer.addView(buildDividerView(cardsContainer, false));
|
||||
|
||||
|
|
Loading…
Reference in a new issue