mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-13 19:37:00 +05:30
parent
015c9929b3
commit
3cc74f9bcf
2 changed files with 5 additions and 1 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Fix bug where newest posts tab actually showed hottest posts instead
|
||||||
|
|
||||||
## [1.15.0] - 2022-12-20
|
## [1.15.0] - 2022-12-20
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -45,7 +45,7 @@ constructor(
|
||||||
}
|
}
|
||||||
private val newestPostsPager =
|
private val newestPostsPager =
|
||||||
Pager(PagingConfig(pageSize = PAGE_SIZE), initialKey = STARTING_PAGE_INDEX) {
|
Pager(PagingConfig(pageSize = PAGE_SIZE), initialKey = STARTING_PAGE_INDEX) {
|
||||||
pagingSourceFactory.create(api::getHottestPosts)
|
pagingSourceFactory.create(api::getNewestPosts)
|
||||||
}
|
}
|
||||||
|
|
||||||
val hottestPosts
|
val hottestPosts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue