mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 05:59:17 +01:00
Changing presenterScope to lateinit
This commit is contained in:
parent
43b42f8d54
commit
bd9069b585
@ -6,7 +6,7 @@ import kotlinx.coroutines.Job
|
|||||||
import kotlinx.coroutines.cancel
|
import kotlinx.coroutines.cancel
|
||||||
|
|
||||||
open class BaseCoroutinePresenter {
|
open class BaseCoroutinePresenter {
|
||||||
var presenterScope = CoroutineScope(Job() + Dispatchers.Default)
|
lateinit var presenterScope: CoroutineScope
|
||||||
|
|
||||||
open fun onCreate() {
|
open fun onCreate() {
|
||||||
presenterScope = CoroutineScope(Job() + Dispatchers.Default)
|
presenterScope = CoroutineScope(Job() + Dispatchers.Default)
|
||||||
|
Loading…
Reference in New Issue
Block a user