From a6a0ee411d89ea3d804aded5b014de01b6b21c65 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 8 Mar 2020 12:54:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt | 4 +++- 1 file changed, 3 insertions(+), 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 ae90fcb35..dc658914d 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 @@ -109,7 +109,9 @@ class BookshelfFragment : VMBaseFragment(R.layout.fragment_b synchronized(this) { tab_layout.removeOnTabSelectedListener(this) bookGroups.clear() - bookGroups.add(AppConst.bookGroupAll) + if (AppConfig.bookGroupAllShow) { + bookGroups.add(AppConst.bookGroupAll) + } if (AppConfig.bookGroupLocalShow) { bookGroups.add(AppConst.bookGroupLocal) }