minor code clean up

This commit is contained in:
2021-03-11 19:11:12 +01:00
parent 7a2f3ad265
commit b05ecf64a6
3 changed files with 11 additions and 35 deletions

View File

@ -48,7 +48,7 @@ class MediaFragment(private val mediaId: Int) : Fragment() {
super.onViewCreated(view, savedInstanceState)
binding.frameLoading.visibility = View.VISIBLE
// tab layout and pager TODO
// tab layout and pager
pagerAdapter = ScreenSlidePagerAdapter(requireActivity())
// fix material components issue #1878, if more tabs are added increase
binding.pagerEpisodesSimilar.offscreenPageLimit = 2