[Android] Fix video tabs custom style upon reorientation

Nicolas Pomepuy git at videolan.org
Mon Mar 13 09:37:36 UTC 2023


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Mar 13 08:17:10 2023 +0100| [a02a563233a4942c9178882fb5b919211777b401] | committer: Nicolas Pomepuy

Fix video tabs custom style upon reorientation

Fixes #2881

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

 .../vlc-android/src/org/videolan/vlc/gui/video/VideoBrowserFragment.kt   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoBrowserFragment.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoBrowserFragment.kt
index d8b8dfe613..613be1ea56 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoBrowserFragment.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoBrowserFragment.kt
@@ -142,6 +142,7 @@ class VideoBrowserFragment : BaseFragment(), TabLayout.OnTabSelectedListener, Fi
             }
             tabLayoutMediator.attach()
         }
+        updateTabs()
     }
 
     private fun getPageTitle(position: Int) = when (position) {



More information about the Android mailing list