feat: 优化代码

pull/141/head
kunfei 5 years ago
parent 269ca4fe09
commit 28cc6c9c28
  1. 8
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt

@ -203,13 +203,9 @@ class BookshelfFragment : VMBaseFragment<BookshelfViewModel>(R.layout.fragment_b
}.show().applyTint() }.show().applyTint()
} }
override fun onTabReselected(tab: TabLayout.Tab?) { override fun onTabReselected(tab: TabLayout.Tab?) = Unit
} override fun onTabUnselected(tab: TabLayout.Tab?) = Unit
override fun onTabUnselected(tab: TabLayout.Tab?) {
}
override fun onTabSelected(tab: TabLayout.Tab?) { override fun onTabSelected(tab: TabLayout.Tab?) {
tab?.position?.let { tab?.position?.let {

Loading…
Cancel
Save