Merge pull request #7316 from osmandapp/RoutePreparationImprovements

Route preparation fixes
This commit is contained in:
vshcherb 2019-07-23 15:31:25 +02:00 committed by GitHub
commit f340b52e18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -167,7 +167,7 @@ public class RouteOptionsBottomSheet extends MenuBottomSheetDialogFragment {
.setChecked(settings.ENABLE_TIME_CONDITIONAL_ROUTING.get())
.setIcon(getContentIcon((optionsItem.getActiveIconId())))
.setTitle(getString(R.string.temporary_conditional_routing))
.setLayoutId(R.layout.bottom_sheet_item_with_descr_and_switch_56dp)
.setLayoutId(R.layout.bottom_sheet_item_with_switch_56dp)
.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

View file

@ -817,12 +817,12 @@ public class RoutingOptionsHelper {
@Override
public int getActiveIconId() {
return R.drawable.ic_action_road_works_dark;
return R.drawable.ic_action_alert;
}
@Override
public int getDisabledIconId() {
return R.drawable.ic_action_road_works_dark;
return R.drawable.ic_action_alert;
}
}