pull/32/head
GKF 6 years ago
parent 9dcedd4e29
commit 012caffc7c
  1. 3
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt

@ -54,6 +54,9 @@ class BookshelfFragment : BaseFragment(R.layout.fragment_bookshelf), BookGroupAd
private fun initRecyclerView() { private fun initRecyclerView() {
refresh_layout.setColorSchemeColors(ThemeStore.accentColor(refresh_layout.context)) refresh_layout.setColorSchemeColors(ThemeStore.accentColor(refresh_layout.context))
refresh_layout.setOnRefreshListener {
refresh_layout.isRefreshing = false
}
tv_recent_reading.textColor = ThemeStore.accentColor(tv_recent_reading.context) tv_recent_reading.textColor = ThemeStore.accentColor(tv_recent_reading.context)
rv_book_group.layoutManager = LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false) rv_book_group.layoutManager = LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false)
bookGroupAdapter = BookGroupAdapter() bookGroupAdapter = BookGroupAdapter()

Loading…
Cancel
Save