mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Strip quotes
This commit is contained in:
parent
186d6ed87d
commit
b755ea1144
2 changed files with 3 additions and 1 deletions
|
|
@ -141,8 +141,10 @@ public class NearbyListFragment extends ListFragment {
|
|||
TextView distance = (TextView) convertView.findViewById(R.id.distance);
|
||||
ImageView icon = (ImageView) convertView.findViewById(R.id.icon);
|
||||
|
||||
String quotelessName = place.name.replaceAll("^\"|\"$", "");
|
||||
|
||||
// Populate the data into the template view using the data object
|
||||
tvName.setText(place.name);
|
||||
tvName.setText(quotelessName);
|
||||
tvDesc.setText(place.description);
|
||||
distance.setText(place.distance);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue