Skip to content

Commit

Permalink
减小追番列表的每页大小以 (大幅) 加快加载速度
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Apr 2, 2024
1 parent 3a8be32 commit 6c1002c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/shared/data/common/data/SubjectRepository.kt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class SubjectRepositoryImpl : SubjectRepository, KoinComponent {
): PagedSource<UserSubjectCollection> {
return PageBasedPagedSource { page ->
try {
val pageSize = 30
val pageSize = 10
withContext(Dispatchers.IO) {
client.api.getUserCollectionsByUsername(
username,
Expand Down

0 comments on commit 6c1002c

Please sign in to comment.