From db17418c4f7013e852ad3b29cfbf31910f6ac69b Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 25 Sep 2020 14:41:02 +0300 Subject: [PATCH] Fix reverse track availability --- .../osmand/plus/routepreparationmenu/FollowTrackFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/FollowTrackFragment.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/FollowTrackFragment.java index 8937f4ce5d..fd0d22f6fc 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/FollowTrackFragment.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/FollowTrackFragment.java @@ -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));