Merge branch 'master' of github.com:osmandapp/Osmand
This commit is contained in:
commit
c9d2fbac91
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ public class VehicleParametersBottomSheet extends BasePreferenceBottomSheet {
|
|||
VehicleSizeAssets vehicleSizeAssets = VehicleSizeAssets.getAssets(parameterName);
|
||||
if (vehicleSizeAssets != null) {
|
||||
ImageView imageView = mainView.findViewById(R.id.image_view);
|
||||
imageView.setImageDrawable(ContextCompat.getDrawable(app,
|
||||
!nightMode ? vehicleSizeAssets.getDayIconId() : vehicleSizeAssets.getNightIconId()));
|
||||
imageView.setImageDrawable(app.getUIUtilities()
|
||||
.getIcon(!nightMode ? vehicleSizeAssets.getDayIconId() : vehicleSizeAssets.getNightIconId()));
|
||||
TextView description = mainView.findViewById(R.id.description);
|
||||
description.setText(app.getString(vehicleSizeAssets.getDescriptionRes()));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue