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)