diff --git a/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt b/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt index 0f6524274..3f7f2419f 100644 --- a/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt @@ -49,8 +49,7 @@ class CacheActivity : VMBaseActivity() private val groupList: ArrayList = arrayListOf() private var groupId: Long = -1 - override val viewModel: CacheViewModel - by viewModels() + override val viewModel: CacheViewModel by viewModels() override fun getViewBinding(): ActivityCacheBookBinding { return ActivityCacheBookBinding.inflate(layoutInflater)