From 7fe69abf7eca2b289543b979475b0eeba8502688 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 28 Aug 2021 19:26:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legado/app/ui/book/search/SearchActivity.kt | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt b/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt index 30cb13b18..3572a7a79 100644 --- a/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt @@ -334,13 +334,9 @@ class SearchActivity : VMBaseActivity - searchBook?.let { - startActivity { - putExtra("name", it.name) - putExtra("author", it.author) - } - } + startActivity { + putExtra("name", name) + putExtra("author", author) } } @@ -348,10 +344,7 @@ class SearchActivity : VMBaseActivity { - putExtra("name", book.name) - putExtra("author", book.author) - } + showBookInfo(book.name, book.author) } /**