Strip quotes

This commit is contained in:
misaochan 2016-08-29 20:17:22 +12:00
parent 186d6ed87d
commit b755ea1144
2 changed files with 3 additions and 1 deletions

View file

@ -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);