Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
528
Issue boards
Milestones
Wiki
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
f01152cc
Commit
f01152cc
authored
2 years ago
by
Nicolas Pomepuy
Committed by
Duncan McNamara
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix thumbnails shown for folders in the video list
Fixes #2719
parent
cb196b9b
No related branches found
No related tags found
1 merge request
!1578
Fix thumbnails shown for folders in the video list
Pipeline
#272532
passed with stage
in 21 minutes and 33 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/vlc-android/src/org/videolan/vlc/gui/helpers/ImageLoader.kt
+1
-1
1 addition, 1 deletion
...c-android/src/org/videolan/vlc/gui/helpers/ImageLoader.kt
with
1 addition
and
1 deletion
application/vlc-android/src/org/videolan/vlc/gui/helpers/ImageLoader.kt
+
1
−
1
View file @
f01152cc
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment