From 0c1a633444296a95c0e4e668d8d2d9165a798eac Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 27 Aug 2019 23:07:45 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/changesource/ChangeSourceAdapter.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {