mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Clip to outline does not make sense for a ShapeableImageView.
This commit is contained in:
@@ -43,7 +43,6 @@ class HistoryListViewHolder : ViewHolder {
|
|||||||
constructor(viewGroup: ViewGroup) : super(LayoutInflater.from(viewGroup.context).inflate(R.layout.list_history, viewGroup, false)) {
|
constructor(viewGroup: ViewGroup) : super(LayoutInflater.from(viewGroup.context).inflate(R.layout.list_history, viewGroup, false)) {
|
||||||
_root = itemView.findViewById(R.id.root);
|
_root = itemView.findViewById(R.id.root);
|
||||||
_imageThumbnail = itemView.findViewById(R.id.image_video_thumbnail);
|
_imageThumbnail = itemView.findViewById(R.id.image_video_thumbnail);
|
||||||
_imageThumbnail.clipToOutline = true;
|
|
||||||
_textName = itemView.findViewById(R.id.text_video_name);
|
_textName = itemView.findViewById(R.id.text_video_name);
|
||||||
_textAuthor = itemView.findViewById(R.id.text_author);
|
_textAuthor = itemView.findViewById(R.id.text_author);
|
||||||
_textMetadata = itemView.findViewById(R.id.text_video_metadata);
|
_textMetadata = itemView.findViewById(R.id.text_video_metadata);
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ class VideoListEditorViewHolder : ViewHolder {
|
|||||||
constructor(view: View, touchHelper: ItemTouchHelper? = null) : super(view) {
|
constructor(view: View, touchHelper: ItemTouchHelper? = null) : super(view) {
|
||||||
_root = view.findViewById(R.id.root);
|
_root = view.findViewById(R.id.root);
|
||||||
_imageThumbnail = view.findViewById(R.id.image_video_thumbnail);
|
_imageThumbnail = view.findViewById(R.id.image_video_thumbnail);
|
||||||
_imageThumbnail?.clipToOutline = true;
|
|
||||||
_textName = view.findViewById(R.id.text_video_name);
|
_textName = view.findViewById(R.id.text_video_name);
|
||||||
_textAuthor = view.findViewById(R.id.text_author);
|
_textAuthor = view.findViewById(R.id.text_author);
|
||||||
_textMetadata = view.findViewById(R.id.text_video_metadata);
|
_textMetadata = view.findViewById(R.id.text_video_metadata);
|
||||||
|
|||||||
-1
@@ -29,7 +29,6 @@ class VideoListHorizontalViewHolder : ViewHolder {
|
|||||||
constructor(view: View) : super(view) {
|
constructor(view: View) : super(view) {
|
||||||
_root = view.findViewById(R.id.root);
|
_root = view.findViewById(R.id.root);
|
||||||
_imageThumbnail = view.findViewById(R.id.image_video_thumbnail);
|
_imageThumbnail = view.findViewById(R.id.image_video_thumbnail);
|
||||||
_imageThumbnail?.clipToOutline = true;
|
|
||||||
_textName = view.findViewById(R.id.text_video_name);
|
_textName = view.findViewById(R.id.text_video_name);
|
||||||
_textAuthor = view.findViewById(R.id.text_author);
|
_textAuthor = view.findViewById(R.id.text_author);
|
||||||
_textVideoDuration = view.findViewById(R.id.thumbnail_duration);
|
_textVideoDuration = view.findViewById(R.id.thumbnail_duration);
|
||||||
|
|||||||
Reference in New Issue
Block a user