pull/32/head
kunfei 5 years ago
parent cde7a3d137
commit 4941ea3c47
  1. 2
      app/src/main/java/io/legado/app/base/BaseActivity.kt

@ -20,7 +20,7 @@ import kotlinx.coroutines.MainScope
import kotlinx.coroutines.cancel import kotlinx.coroutines.cancel
abstract class BaseActivity<VM : ViewModel>(private var fullScreen: Boolean = true) : AppCompatActivity(), CoroutineScope by MainScope() { abstract class BaseActivity<VM : ViewModel>(private val fullScreen: Boolean = true) : AppCompatActivity(), CoroutineScope by MainScope() {
protected abstract val viewModel: VM protected abstract val viewModel: VM

Loading…
Cancel
Save