mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +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);
|
TextView distance = (TextView) convertView.findViewById(R.id.distance);
|
||||||
ImageView icon = (ImageView) convertView.findViewById(R.id.icon);
|
ImageView icon = (ImageView) convertView.findViewById(R.id.icon);
|
||||||
|
|
||||||
|
String quotelessName = place.name.replaceAll("^\"|\"$", "");
|
||||||
|
|
||||||
// Populate the data into the template view using the data object
|
// Populate the data into the template view using the data object
|
||||||
tvName.setText(place.name);
|
tvName.setText(quotelessName);
|
||||||
tvDesc.setText(place.description);
|
tvDesc.setText(place.description);
|
||||||
distance.setText(place.distance);
|
distance.setText(place.distance);
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 45 KiB |
Loading…
Add table
Add a link
Reference in a new issue