From 2177acc421f5e4b1b454d71b7c71a27d79a1894e Mon Sep 17 00:00:00 2001 From: MadWasp79 Date: Mon, 20 Jul 2020 15:55:37 +0300 Subject: [PATCH] fix debug routing toast conditions --- OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java | 1 - .../net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java | 3 --- 2 files changed, 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java b/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java index b52e495dd3..ff0051a451 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashboardOnMap.java @@ -1306,7 +1306,6 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, IRouteInfo @Override public void newRouteIsCalculated(boolean newRoute, ValueHolder showToast) { - showToast.value = false; } @Override diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java index 6d980d6a22..f340b6caf6 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java @@ -1994,9 +1994,6 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener directionInfo = -1; routeSelected = false; updateMenu(); - if (isVisible()) { - showToast.value = false; - } } public String generateViaDescription() {