Crash in Driving region

This commit is contained in:
androiddevkkotlin 2020-12-22 13:20:23 +02:00
parent a654cd7439
commit 1064eb61ee

View file

@ -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) {