[Android] ArtistProvider: set default showAll to false
Duncan McNamara
git at videolan.org
Tue Jul 16 11:22:41 CEST 2019
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu Jul 11 18:13:18 2019 +0200| [881820f6f4ac2b6f3b11b07b7e6a0758fea0182c] | committer: Geoffrey Métais
ArtistProvider: set default showAll to false
> https://code.videolan.org/videolan/vlc-android/commit/881820f6f4ac2b6f3b11b07b7e6a0758fea0182c
---
.../src/org/videolan/vlc/viewmodels/mobile/AudioBrowserViewModel.kt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/viewmodels/mobile/AudioBrowserViewModel.kt b/vlc-android/src/org/videolan/vlc/viewmodels/mobile/AudioBrowserViewModel.kt
index a4f76412e..4d825238b 100644
--- a/vlc-android/src/org/videolan/vlc/viewmodels/mobile/AudioBrowserViewModel.kt
+++ b/vlc-android/src/org/videolan/vlc/viewmodels/mobile/AudioBrowserViewModel.kt
@@ -40,7 +40,8 @@ import org.videolan.vlc.viewmodels.MedialibraryViewModel
@ExperimentalCoroutinesApi
class AudioBrowserViewModel(context: Context) : MedialibraryViewModel(context) {
- val artistsProvider = ArtistsProvider(context, this, true)
+ val artistsProvider = ArtistsProvider(context, this,
+ Settings.getInstance(context).getBoolean(KEY_ARTISTS_SHOW_ALL, false))
val albumsProvider = AlbumsProvider(null, context, this)
val tracksProvider = TracksProvider(null, context, this)
val genresProvider = GenresProvider(context, this)
More information about the Android
mailing list