Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
nikclayton committed Feb 3, 2025
1 parent 1a8a915 commit 6ce9ac2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class CachedTimelineRemoteMediator(

val status = async { mastodonApi.status(statusId = statusId) }
val prevPage = async { mastodonApi.homeTimeline(minId = statusId, limit = pageSize * 3) }
val nextPage = async { mastodonApi.homeTimeline(maxId = statusId, limit = pageSize * 3) }
val nextPage = async { mastodonApi.homeTimeline(maxId = statusId, limit = pageSize * 3) }

val statuses = buildList {
prevPage.await().body()?.let { this.addAll(it) }
Expand Down

0 comments on commit 6ce9ac2

Please sign in to comment.