mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 20:15:05 +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 {
|
return when {
|
||||||
isResuming && endless && offset > 0 -> "LIMIT $offset"
|
isResuming && endless && offset > 0 -> "LIMIT $offset"
|
||||||
endless -> "LIMIT ${RecentsPresenter.ENDLESS_LIMIT}\nOFFSET $offset"
|
endless -> "LIMIT ${RecentsPresenter.ENDLESS_LIMIT}\nOFFSET $offset"
|
||||||
else -> "LIMIT 12"
|
else -> "LIMIT 25"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ class RecentsPresenter(
|
|||||||
limit: Boolean = false,
|
limit: Boolean = false,
|
||||||
customViewType: Int? = null
|
customViewType: Int? = null
|
||||||
) {
|
) {
|
||||||
if (retryCount > 15) {
|
if (retryCount > 5) {
|
||||||
finished = true
|
finished = true
|
||||||
setDownloadedChapters(recentItems)
|
setDownloadedChapters(recentItems)
|
||||||
if (customViewType == null) {
|
if (customViewType == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user