Use correct gpx title in search history
This commit is contained in:
parent
c352a04883
commit
ec9076dc2b
1 changed files with 2 additions and 1 deletions
|
@ -416,7 +416,8 @@ public class QuickSearchListAdapter extends ArrayAdapter<QuickSearchListItem> {
|
||||||
LinearLayout view = getLinearLayout(convertView, R.layout.search_gpx_list_item);
|
LinearLayout view = getLinearLayout(convertView, R.layout.search_gpx_list_item);
|
||||||
SearchResult sr = listItem.getSearchResult();
|
SearchResult sr = listItem.getSearchResult();
|
||||||
setupCheckBox(position, view, listItem);
|
setupCheckBox(position, view, listItem);
|
||||||
GpxUiHelper.updateGpxInfoView(app, view, sr.localeName, listItem.getIcon(), gpxInfo);
|
String gpxTitle = GpxUiHelper.getGpxTitle(sr.localeName);
|
||||||
|
GpxUiHelper.updateGpxInfoView(app, view, gpxTitle, listItem.getIcon(), gpxInfo);
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue