fix(android): stupid copypasta :clown:

Fixes 2afbc73bd4
This commit is contained in:
Harsh Shandilya 2022-12-24 01:22:38 +05:30
parent 015c9929b3
commit 3cc74f9bcf
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Changed
- Fix bug where newest posts tab actually showed hottest posts instead
## [1.15.0] - 2022-12-20
### Changed

View File

@ -45,7 +45,7 @@ constructor(
}
private val newestPostsPager =
Pager(PagingConfig(pageSize = PAGE_SIZE), initialKey = STARTING_PAGE_INDEX) {
pagingSourceFactory.create(api::getHottestPosts)
pagingSourceFactory.create(api::getNewestPosts)
}
val hottestPosts