Remove unnecessary changes

This commit is contained in:
Chumva 2019-03-20 18:37:38 +02:00
parent 841eb28610
commit fa2762055b

View file

@ -402,7 +402,11 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
WeakReference<MapRouteInfoMenuFragment> fragmentRef = findMenuFragment(); WeakReference<MapRouteInfoMenuFragment> fragmentRef = findMenuFragment();
MapRouteInfoMenuFragment fragment = fragmentRef != null ? fragmentRef.get() : null; MapRouteInfoMenuFragment fragment = fragmentRef != null ? fragmentRef.get() : null;
if (fragmentRef != null && fragment.isVisible()) { if (fragmentRef != null && fragment.isVisible()) {
if (setRouteCalculationInProgress(true)) {
fragment.updateInfo();
}
fragment.updateRouteCalculationProgress(progress); fragment.updateRouteCalculationProgress(progress);
fragment.updateControlButtons();
} }
} }