Fix fastest route and fuel efficient dependency
This commit is contained in:
parent
2593ffea4e
commit
cc4621de29
1 changed files with 2 additions and 0 deletions
|
@ -286,6 +286,8 @@ public class RouteParametersFragment extends BaseSettingsFragment implements OnP
|
|||
}
|
||||
recalculateRoute();
|
||||
return true;
|
||||
} else if (GeneralRouter.USE_SHORTEST_WAY.equals(key) && newValue instanceof Boolean) {
|
||||
return app.getSettings().FAST_ROUTE_MODE.setModeValue(getSelectedAppMode(), !(Boolean) newValue);
|
||||
}
|
||||
|
||||
return super.onPreferenceChange(preference, newValue);
|
||||
|
|
Loading…
Reference in a new issue