TitleBar fitStatusBar

pull/32/head
Awesome 6 years ago
parent bbf110ee4e
commit f43d8483e1
  1. 2
      app/src/main/java/io/legado/app/ui/main/MainActivity.kt

@ -78,7 +78,7 @@ class MainActivity : BaseActivity<MainViewModel>(), BottomNavigationView.OnNavig
}
private inner class TabFragmentPageAdapter internal constructor(fm: FragmentManager) :
FragmentStatePagerAdapter(fm, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT) {
FragmentPagerAdapter(fm, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT) {
override fun getItem(position: Int): Fragment {
return when (position) {

Loading…
Cancel
Save