[Android] Fix missing more icon on video folders
Nicolas Pomepuy
git at videolan.org
Wed Sep 1 11:39:51 UTC 2021
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Aug 30 11:26:48 2021 +0200| [ac839dcae1f99e7cc788128c38787e4672dae7c1] | committer: Nicolas Pomepuy
Fix missing more icon on video folders
Fixes #2149
> https://code.videolan.org/videolan/vlc-android/commit/ac839dcae1f99e7cc788128c38787e4672dae7c1
---
.../vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt
index de12c13d5..140a38517 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt
@@ -138,7 +138,7 @@ class VideoListAdapter(private var isSeenMediaMarkerVisible: Boolean
val count = item.mediaCount(Folder.TYPE_FOLDER_VIDEO)
holder.binding.setVariable(BR.time, holder.itemView.context.resources.getQuantityString(R.plurals.videos_quantity, count, count))
holder.binding.setVariable(BR.isNetwork, false)
- holder.binding.setVariable(BR.isPresent, false)
+ holder.binding.setVariable(BR.isPresent, true)
}
is VideoGroup -> holder.itemView.scope.launch {
val count = item.mediaCount()
More information about the Android
mailing list