Commit 11ec18cb authored by Geoffrey Métais's avatar Geoffrey Métais

Add singleline attirbute to avoid crashes

parent ecd1664c
......@@ -108,6 +108,7 @@ public class VideoListAdapter extends SortableAdapter<MediaWrapper, VideoListAda
final TextView titleView = holder.itemView.findViewById(R.id.ml_item_title);
titleView.setMaxLines(mGroup ? 1 : 2);
titleView.setEllipsize(mGroup ? TextUtils.TruncateAt.START : null);
titleView.setSingleLine(mGroup);
}
@Override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment