We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c00f755 commit 21e54efCopy full SHA for 21e54ef
app/src/main/java/fr/free/nrw/commons/nearby/PlaceRenderer.java
@@ -44,8 +44,10 @@ public void render() {
44
Place place = getContent();
45
tvName.setText(place.name);
46
String descriptionText = place.getLongDescription();
47
+ tvDesc.setVisibility(View.VISIBLE);
48
if (descriptionText.equals("?")) {
- descriptionText = "";
49
+ descriptionText = getContext().getString(R.string.no_description_found);
50
+ tvDesc.setVisibility(View.INVISIBLE);
51
}
52
tvDesc.setText(descriptionText);
53
distance.setText(place.distance);
0 commit comments