[Android] Fix the sort menu item in multiple fragments screens
Nicolas Pomepuy
git at videolan.org
Mon Jul 4 16:22:17 UTC 2022
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Jul 4 15:37:11 2022 +0200| [ca7414f842f92487f3ce36225b231498c7b15bda] | committer: Nicolas Pomepuy
Fix the sort menu item in multiple fragments screens
Fixes #2590
> https://code.videolan.org/videolan/vlc-android/commit/ca7414f842f92487f3ce36225b231498c7b15bda
---
.../vlc-android/src/org/videolan/vlc/gui/audio/BaseAudioBrowser.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/audio/BaseAudioBrowser.kt b/application/vlc-android/src/org/videolan/vlc/gui/audio/BaseAudioBrowser.kt
index 4b3652543..2587ff97c 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/audio/BaseAudioBrowser.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/audio/BaseAudioBrowser.kt
@@ -384,7 +384,7 @@ abstract class BaseAudioBrowser<T : MedialibraryViewModel> : MediaBrowserFragmen
}
override fun onUpdateFinished(adapter: RecyclerView.Adapter<*>) {
- sortMenuTitles()
+ sortMenuTitles(currentTab)
if (adapter == getCurrentAdapter()) {
restoreMultiSelectHelper()
}
More information about the Android
mailing list