Skip to content
Snippets Groups Projects
Commit f01152cc authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Duncan McNamara
Browse files

Fix thumbnails shown for folders in the video list

Fixes #2719
parent cb196b9b
No related branches found
No related tags found
1 merge request!1578Fix thumbnails shown for folders in the video list
Pipeline #272532 passed with stage
in 21 minutes and 33 seconds
......@@ -71,7 +71,7 @@ fun loadImage(v: View, item: MediaLibraryItem?, imageWidth: Int = 0, tv: Boolean
val binding = DataBindingUtil.findBinding<ViewDataBinding>(v)
val isMedia = item.itemType == MediaLibraryItem.TYPE_MEDIA
if (!Settings.showVideoThumbs && ((isMedia && (item as MediaWrapper).type == MediaWrapper.TYPE_VIDEO) || item.itemType == MediaLibraryItem.TYPE_VIDEO_GROUP) ) {
if (!Settings.showVideoThumbs && ((isMedia && (item as MediaWrapper).type == MediaWrapper.TYPE_VIDEO) || item.itemType == MediaLibraryItem.TYPE_VIDEO_GROUP || item is Folder) ) {
updateImageView(UiTools.getDefaultVideoDrawable(v.context).bitmap, v, binding, tv = tv, card = card)
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment