Use correct gpx title in search history

This commit is contained in:
nazar-kutz 2021-03-12 13:00:21 +02:00
parent c352a04883
commit ec9076dc2b

View file

@ -416,7 +416,8 @@ public class QuickSearchListAdapter extends ArrayAdapter<QuickSearchListItem> {
LinearLayout view = getLinearLayout(convertView, R.layout.search_gpx_list_item);
SearchResult sr = listItem.getSearchResult();
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;
}