From ee88472077f6ab8c732d2bd352d0e6c14edfed8c Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 5 Sep 2019 21:04:51 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/main/explore/ExploreAdapter.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/main/explore/ExploreAdapter.kt b/app/src/main/java/io/legado/app/ui/main/explore/ExploreAdapter.kt index 369bafdcf..0bc6c0891 100644 --- a/app/src/main/java/io/legado/app/ui/main/explore/ExploreAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/explore/ExploreAdapter.kt @@ -46,8 +46,7 @@ class ExploreAdapter(context: Context, private val scope: CoroutineScope, val ca popupMenu.setOnMenuItemClickListener { when (it.itemId) { R.id.menu_edit -> callBack.editSource(item.bookSourceUrl) - R.id.menu_top -> { - } + R.id.menu_top -> callBack.toTop(item) R.id.menu_refresh -> { ACache.get(context, "explore").remove(item.bookSourceUrl) notifyItemChanged(holder.layoutPosition)