From cc90236a618a47a3f6f70104fac70b0742fe37e9 Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 17 Feb 2021 20:17:09 +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 --- .../main/java/io/legado/app/ui/book/info/BookInfoActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt index 114896d6e..c1ec7109d 100644 --- a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt @@ -51,8 +51,7 @@ class BookInfoActivity : private val requestCodeInfoEdit = 562 private val requestCodeRead = 432 - override val viewModel: BookInfoViewModel - by viewModels() + override val viewModel: BookInfoViewModel by viewModels() override fun getViewBinding(): ActivityBookInfoBinding { return ActivityBookInfoBinding.inflate(layoutInflater)