Add check for app mode change

This commit is contained in:
Chumva 2019-03-20 17:08:22 +02:00
parent be06fd3a6b
commit 3d156cc033

View file

@ -705,7 +705,9 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
routingHelper.setAppMode(next); routingHelper.setAppMode(next);
app.initVoiceCommandPlayer(mapActivity, next, true, null, false, false); app.initVoiceCommandPlayer(mapActivity, next, true, null, false, false);
routingHelper.recalculateRouteDueToSettingsChange(); routingHelper.recalculateRouteDueToSettingsChange();
updateMenu(); if (setRouteCalculationInProgress(true) || mode != next) {
updateMenu();
}
} }
} }