From e1392212dbd36ecc3ed8b37b861e51b7cbcd0fe7 Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 11 Mar 2019 22:01:57 +0100 Subject: [PATCH] Dismiss also for Transport --- .../net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java index 41a4e1edcb..6348927b02 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java @@ -801,7 +801,7 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener View cancelButton = mainView.findViewById(R.id.cancel_button); TextView cancelButtonText = (TextView) mainView.findViewById(R.id.cancel_button_descr); - if (routingHelper.isRouteCalculated() || routingHelper.isRouteBeingCalculated()) { + if (routingHelper.isRouteCalculated() || routingHelper.isRouteBeingCalculated() || isTransportRouteCalculated()) { cancelButtonText.setText(R.string.shared_string_dismiss); } else { cancelButtonText.setText(R.string.shared_string_cancel);