More linting fixes

This commit is contained in:
arkon
2020-02-26 18:12:44 -05:00
parent 043e3784e8
commit 0f2d480036
65 changed files with 507 additions and 80 deletions
@@ -1,6 +1,12 @@
package eu.kanade.tachiyomi.util.lang
import kotlinx.coroutines.*
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.CoroutineStart
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
fun launchUI(block: suspend CoroutineScope.() -> Unit): Job =
GlobalScope.launch(Dispatchers.Main, CoroutineStart.DEFAULT, block)