From 054f9433a1014b8d4bc4d060a573238401cca304 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 7 Feb 2020 19:00:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt index 8b76c7412..2e22da815 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt @@ -81,7 +81,7 @@ class BookshelfFragment : VMBaseFragment(R.layout.fragment_b return bookGroups[position] } - val selectedGroup: BookGroup + private val selectedGroup: BookGroup get() = bookGroups[view_pager_bookshelf.currentItem] private fun initRecyclerView() {