mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Merge pull request #1281 from tanvidadu/Nodescription
Removed No description label
This commit is contained in:
commit
4a3c33ed58
1 changed files with 2 additions and 0 deletions
|
|
@ -44,8 +44,10 @@ class PlaceRenderer extends Renderer<Place> {
|
|||
Place place = getContent();
|
||||
tvName.setText(place.name);
|
||||
String descriptionText = place.getLongDescription();
|
||||
tvDesc.setVisibility(View.VISIBLE);
|
||||
if (descriptionText.equals("?")) {
|
||||
descriptionText = getContext().getString(R.string.no_description_found);
|
||||
tvDesc.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
tvDesc.setText(descriptionText);
|
||||
distance.setText(place.distance);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue