Crash in Driving region
This commit is contained in:
parent
a654cd7439
commit
1064eb61ee
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ public class GeneralProfileSettingsFragment extends BaseSettingsFragment impleme
|
|||
TextView desc = (TextView) v.findViewById(R.id.description);
|
||||
if (item instanceof DrivingRegion) {
|
||||
DrivingRegion drivingRegion = (DrivingRegion) item;
|
||||
title.setText(getString(drivingRegion.name));
|
||||
title.setText(app.getString(drivingRegion.name));
|
||||
desc.setVisibility(View.VISIBLE);
|
||||
desc.setText(drivingRegion.getDescription(v.getContext()));
|
||||
} else if (item instanceof String) {
|
||||
|
|
Loading…
Reference in a new issue