desktop: fix missing dispatcher error

This commit is contained in:
Harsh Shandilya 2022-04-07 17:49:50 +05:30
parent 7604b776b3
commit 72a680e363
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -48,7 +48,7 @@ internal constructor(
/** the [Flow] object which contains a stream of [PagingData] elements. */
private val flow: Flow<PagingData<T>>
) {
private val mainDispatcher = Dispatchers.Main
private val mainDispatcher = Dispatchers.Default
/**
* Contains the immutable [ItemSnapshotList] of currently presented items, including any