[Android] Fix the video group/folder screen space for the tabs

Nicolas Pomepuy git at videolan.org
Thu Feb 16 10:33:58 UTC 2023


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Feb 16 09:01:09 2023 +0100| [69e6d867b459bd712c1bd712f188adccb273ada0] | committer: Duncan McNamara

Fix the video group/folder screen space for the tabs

Fixes #2751

> https://code.videolan.org/videolan/vlc-android/commit/69e6d867b459bd712c1bd712f188adccb273ada0
---

 .../vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.kt     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.kt
index 853a39a67b..b715e6f703 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.kt
@@ -86,6 +86,8 @@ class VideoGridFragment : MediaBrowserFragment<VideosViewModel>(), SwipeRefreshL
     //in case of fragment being hosted by other fragments, it's useful to prevent the
     //FAB visibility to be locked hidden
     override val isMainNavigationPoint = false
+    override val hasTabs: Boolean
+        get() = parentFragment != null
 
     private fun FragmentActivity.open(item: MediaLibraryItem) {
         val i = Intent(activity, SecondaryActivity::class.java)



More information about the Android mailing list