From 998ce1815f17be426056f3163ef0e07515eaf274 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 27 Jun 2019 08:11:57 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/main/booksource/BookSourceAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/main/booksource/BookSourceAdapter.kt b/app/src/main/java/io/legado/app/ui/main/booksource/BookSourceAdapter.kt index 76e7f7945..84fad112c 100644 --- a/app/src/main/java/io/legado/app/ui/main/booksource/BookSourceAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/booksource/BookSourceAdapter.kt @@ -74,6 +74,7 @@ class BookSourceAdapter : PagedListAdapter, callBack: CallBack?) = with(itemView) { cb_book_source.text = String.format("%s (%s)", bookSource.name, bookSource.group) + cb_book_source.isChecked = checkedList.contains(bookSource.origin) cb_book_source.onClick { if (cb_book_source.isChecked) { checkedList.add(bookSource.origin)