Fix video FAB when changing tabs

Fixes #3096
This commit is contained in:
Nicolas Pomepuy 2024-10-18 11:04:33 +02:00
parent c19292f62d
commit 29b5cfa747

View File

@ -103,7 +103,9 @@ class VideoBrowserFragment : BaseFragment(), TabLayout.OnTabSelectedListener, Fi
override fun onDestroyActionMode(mode: ActionMode?) {}
override fun onTabSelected(tab: TabLayout.Tab) { }
override fun onTabSelected(tab: TabLayout.Tab) {
setFabPlayVisibility(hasFAB())
}
override fun onTabUnselected(tab: TabLayout.Tab) {
stopActionMode()