修复漫画定位错误的问题

This commit is contained in:
HapeLee committed 2026-05-13 01:32:32 +08:00
1 parent dda4a27730
commit b3c4f7d09f
1 file changed
+2 -2
@@ -367,8 +367,8 @@ object ReadManga : CoroutineScope by MainScope() , KoinComponent{
if (durChapterIndex < simulatedChapterSize - 1) { if (durChapterIndex < simulatedChapterSize - 1) {
if (toFirst) { if (toFirst) {
mCallback?.showLoading() mCallback?.showLoading()
durChapterPos = 0
} }
durChapterPos = 0
durChapterIndex++ durChapterIndex++
prevMangaChapter = curMangaChapter prevMangaChapter = curMangaChapter
curMangaChapter = nextMangaChapter curMangaChapter = nextMangaChapter
@@ -394,8 +394,8 @@ object ReadManga : CoroutineScope by MainScope() , KoinComponent{
if (durChapterIndex > 0) { if (durChapterIndex > 0) {
if (toFirst) { if (toFirst) {
mCallback?.showLoading() mCallback?.showLoading()
durChapterPos = 0
} }
durChapterPos = 0
durChapterIndex-- durChapterIndex--
nextMangaChapter = curMangaChapter nextMangaChapter = curMangaChapter
curMangaChapter = prevMangaChapter curMangaChapter = prevMangaChapter