mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 14:51:50 +01:00
Tweaks to Grouped, and optimization to paging in Recents
This commit is contained in:
parent
f84ac9f24c
commit
49bd889fcc
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user