[Android] Only refresh the current audio tab after display settings

Nicolas Pomepuy git at videolan.org
Tue Mar 14 11:59:20 UTC 2023


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Feb 20 13:42:05 2023 +0100| [17c85252baa0fda6cf9229eb4c89c2baa2f6b33e] | committer: Nicolas Pomepuy

Only refresh the current audio tab after display settings

> https://code.videolan.org/videolan/vlc-android/commit/17c85252baa0fda6cf9229eb4c89c2baa2f6b33e
---

 .../vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt
index 8b87d380ef..41f09a044e 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt
@@ -165,7 +165,7 @@ class AudioBrowserFragment : BaseAudioBrowser<AudioBrowserViewModel>() {
             }
             ONLY_FAVS -> {
                 viewModel.providers[currentTab].showOnlyFavs(value as Boolean)
-                viewModel.refresh()
+                viewModel.providers[currentTab].refresh()
                 updateTabs()
             }
             CURRENT_SORT -> {



More information about the Android mailing list