mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Use string resource instead of hardcoded string
This commit is contained in:
parent
e63532f32b
commit
42c86576b3
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ public class NearbyViewHolder implements ViewHolder<Place> {
|
||||||
tvName.setText(place.name);
|
tvName.setText(place.name);
|
||||||
String description = place.description;
|
String description = place.description;
|
||||||
if ( description == null || description.isEmpty() || description.equals("?")) {
|
if ( description == null || description.isEmpty() || description.equals("?")) {
|
||||||
description = "No Description Found";
|
description = context.getString(R.string.no_description_found);
|
||||||
}
|
}
|
||||||
tvDesc.setText(description);
|
tvDesc.setText(description);
|
||||||
distance.setText(place.distance);
|
distance.setText(place.distance);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue