Fix check for fuel efficient pref key
This commit is contained in:
parent
5411d472e1
commit
a23fc026c2
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ public class RouteParametersFragment extends BaseSettingsFragment implements OnP
|
||||||
}
|
}
|
||||||
recalculateRoute();
|
recalculateRoute();
|
||||||
return true;
|
return true;
|
||||||
} else if (GeneralRouter.USE_SHORTEST_WAY.equals(key) && newValue instanceof Boolean) {
|
} else if ("prouting_short_way".equals(key) && newValue instanceof Boolean) {
|
||||||
return app.getSettings().FAST_ROUTE_MODE.setModeValue(getSelectedAppMode(), !(Boolean) newValue);
|
return app.getSettings().FAST_ROUTE_MODE.setModeValue(getSelectedAppMode(), !(Boolean) newValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue