Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #355 - Fixes the default context
Browse files Browse the repository at this point in the history
  • Loading branch information
boek committed Feb 12, 2019
1 parent a0ac6bf commit b6ab865
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import kotlin.coroutines.CoroutineContext

class HistoryFragment : Fragment(), CoroutineScope {

lateinit var job: Job
private lateinit var job: Job
override val coroutineContext: CoroutineContext
get() = Dispatchers.Default + job
get() = Dispatchers.Main + job

override fun onCreateView(
inflater: LayoutInflater,
Expand Down

0 comments on commit b6ab865

Please sign in to comment.