This commit is contained in:
Igor B. Poretsky 2016-04-10 13:47:08 +03:00
parent cb5b661e59
commit e7360127bf

View file

@ -298,7 +298,7 @@ public class GpxUiHelper {
iconView.setVisibility(View.INVISIBLE);
} else {
iconView.setVisibility(View.VISIBLE);
iconView.setContentDescription(activity.getString(adapter.getItemName(position).contains("\n") ? R.string.shared_string_collapse : R.string.access_widget_expand));
iconView.setContentDescription(activity.getString(item.getTitle().contains("\n") ? R.string.shared_string_collapse : R.string.access_widget_expand));
}
TextView tv = (TextView) v.findViewById(R.id.title);
tv.setText(item.getTitle());