app: fix paging source copypasta fail
Fixes: #211
Fixes: 654eb39877 ("app: de-duplicate paging sources")
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
@@ -37,7 +37,7 @@ constructor(
|
||||
.cachedIn(viewModelScope)
|
||||
val newestPosts =
|
||||
Pager(PagingConfig(25)) {
|
||||
LobstersPagingSource(getPostFetcher(newest = true)).also { hottestPostsPagingSource = it }
|
||||
LobstersPagingSource(getPostFetcher(newest = true)).also { newestPostsPagingSource = it }
|
||||
}
|
||||
.flow
|
||||
.cachedIn(viewModelScope)
|
||||
|
||||
Reference in New Issue
Block a user