[Android] Fix TV artist screen showing all artists
Nicolas Pomepuy
git at videolan.org
Wed Feb 9 14:56:38 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Jan 17 11:42:23 2022 +0100| [186eceab0c4563873ab357bafd8ce3c9903d6448] | committer: Nicolas Pomepuy
Fix TV artist screen showing all artists
Fixes #2319
> https://code.videolan.org/videolan/vlc-android/commit/186eceab0c4563873ab357bafd8ce3c9903d6448
---
.../java/org/videolan/television/viewmodel/MediaBrowserViewModel.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/television/src/main/java/org/videolan/television/viewmodel/MediaBrowserViewModel.kt b/application/television/src/main/java/org/videolan/television/viewmodel/MediaBrowserViewModel.kt
index aaadb0b9e..2ad44c66f 100644
--- a/application/television/src/main/java/org/videolan/television/viewmodel/MediaBrowserViewModel.kt
+++ b/application/television/src/main/java/org/videolan/television/viewmodel/MediaBrowserViewModel.kt
@@ -24,7 +24,7 @@ class MediaBrowserViewModel(context: Context, val category: Long, val parent : M
override val provider = when (category) {
CATEGORY_ALBUMS -> AlbumsProvider(parent, context, this)
- CATEGORY_ARTISTS -> ArtistsProvider(context, this, true)
+ CATEGORY_ARTISTS -> ArtistsProvider(context, this, false)
CATEGORY_GENRES -> GenresProvider(context, this)
CATEGORY_VIDEOS -> VideosProvider(null, null, context, this)
else -> TracksProvider(null, context, this)
More information about the Android
mailing list