diff --git a/app/src/main/java/io/legado/app/base/BaseActivity.kt b/app/src/main/java/io/legado/app/base/BaseActivity.kt index c81210195..79c289194 100644 --- a/app/src/main/java/io/legado/app/base/BaseActivity.kt +++ b/app/src/main/java/io/legado/app/base/BaseActivity.kt @@ -20,7 +20,7 @@ import kotlinx.coroutines.MainScope import kotlinx.coroutines.cancel -abstract class BaseActivity(private var fullScreen: Boolean = true) : AppCompatActivity(), CoroutineScope by MainScope() { +abstract class BaseActivity(private val fullScreen: Boolean = true) : AppCompatActivity(), CoroutineScope by MainScope() { protected abstract val viewModel: VM