Merge pull request #9485 from osmandapp/toast_fix

fix debug routing toast conditions
This commit is contained in:
vshcherb 2020-07-20 15:16:43 +02:00 committed by GitHub
commit 9a7aca7cb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View file

@ -1306,7 +1306,6 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, IRouteInfo
@Override @Override
public void newRouteIsCalculated(boolean newRoute, ValueHolder<Boolean> showToast) { public void newRouteIsCalculated(boolean newRoute, ValueHolder<Boolean> showToast) {
showToast.value = false;
} }
@Override @Override

View file

@ -1994,9 +1994,6 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
directionInfo = -1; directionInfo = -1;
routeSelected = false; routeSelected = false;
updateMenu(); updateMenu();
if (isVisible()) {
showToast.value = false;
}
} }
public String generateViaDescription() { public String generateViaDescription() {