修复漫画定位错误的问题
This commit is contained in:
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
|
||||||
|
|||||||
Reference in new issue
Block a user