diff --git a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceAdapter.kt b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceAdapter.kt index 0d7d3718b..0231a4cea 100644 --- a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceAdapter.kt @@ -17,9 +17,7 @@ class ChangeSourceAdapter(context: Context, val callBack: CallBack) : override fun convert(holder: ItemViewHolder, item: SearchBook, payloads: MutableList) { holder.itemView.apply { if (payloads.isEmpty()) { - this.onClick { - callBack.changeTo(item) - } + this.onClick { callBack.changeTo(item) } tv_origin.text = item.originName tv_last.text = item.latestChapterTitle if (callBack.curBookUrl() == item.bookUrl) {