[android] Fixed switching of settings

This commit is contained in:
Dmitry Donskoy 2019-04-22 15:46:44 +03:00 committed by Aleksandr Zatsepin
parent 54932ed487
commit ca7f0d713f

View file

@ -927,7 +927,7 @@ public class MwmActivity extends BaseMwmFragmentActivity
public void toggleRouteSettings(@NonNull RoadType roadType)
{
mPlacePageController.close();
RoutingOptions.removeOption(roadType);
RoutingOptions.addOption(roadType);
rebuildLastRouteInternal();
}