1
0
Fork 0

For #355 - Fixes the default context

master
Jeff Boek 2019-02-12 10:05:30 -08:00
parent a0ac6bfb37
commit b6ab865e44
1 changed files with 2 additions and 2 deletions

View File

@ -28,9 +28,9 @@ import kotlin.coroutines.CoroutineContext
class HistoryFragment : Fragment(), CoroutineScope { class HistoryFragment : Fragment(), CoroutineScope {
lateinit var job: Job private lateinit var job: Job
override val coroutineContext: CoroutineContext override val coroutineContext: CoroutineContext
get() = Dispatchers.Default + job get() = Dispatchers.Main + job
override fun onCreateView( override fun onCreateView(
inflater: LayoutInflater, inflater: LayoutInflater,