mirror of
https://github.com/gedoor/legado.git
synced 2024-07-04 23:36:56 +08:00
优化
This commit is contained in:
parent
2b761150c8
commit
561cb5e162
|
@ -560,7 +560,11 @@ object ReadBook : CoroutineScope by MainScope() {
|
|||
}
|
||||
callBack?.onLayoutPageCompleted(index, page)
|
||||
}
|
||||
if (upContent) callBack?.upContent(offset, false)
|
||||
if (upContent) callBack?.upContent(offset, !available && resetPageOffset)
|
||||
if (!available) {
|
||||
curPageChanged()
|
||||
callBack?.contentLoadFinish()
|
||||
}
|
||||
}
|
||||
|
||||
-1 -> {
|
||||
|
|
Loading…
Reference in New Issue
Block a user