From 14716ffd86cde5cb0e5c0d583592893d786febc2 Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 15 Dec 2021 17:35:46 +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/BookInfoViewModel.kt | 2 +- .../main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt b/app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt index 95ba3e263..56457a5d1 100644 --- a/app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt @@ -29,7 +29,7 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) { var durChapterIndex = 0 var inBookshelf = false var bookSource: BookSource? = null - var changeSourceCoroutine: Coroutine<*>? = null + private var changeSourceCoroutine: Coroutine<*>? = null fun initData(intent: Intent) { execute { diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt index 038e6aa75..21c6830be 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt @@ -32,7 +32,7 @@ import kotlinx.coroutines.ensureActive class ReadBookViewModel(application: Application) : BaseViewModel(application) { var isInitFinish = false var searchContentQuery = "" - var changeSourceCoroutine: Coroutine<*>? = null + private var changeSourceCoroutine: Coroutine<*>? = null fun initData(intent: Intent) { execute {