Tweaks to Grouped, and optimization to paging in Recents

This commit is contained in:
Jays2Kings 2021-04-21 01:12:27 -04:00
parent f84ac9f24c
commit 49bd889fcc
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ fun limitAndOffset(endless: Boolean, isResuming: Boolean, offset: Int): String {
return when {
isResuming && endless && offset > 0 -> "LIMIT $offset"
endless -> "LIMIT ${RecentsPresenter.ENDLESS_LIMIT}\nOFFSET $offset"
else -> "LIMIT 12"
else -> "LIMIT 25"
}
}

View File

@ -116,7 +116,7 @@ class RecentsPresenter(
limit: Boolean = false,
customViewType: Int? = null
) {
if (retryCount > 15) {
if (retryCount > 5) {
finished = true
setDownloadedChapters(recentItems)
if (customViewType == null) {