This commit is contained in:
Horis 2023-07-18 09:10:04 +08:00
parent 995073ee0f
commit 11d5d4cb2a

View File

@ -308,7 +308,7 @@ class HttpReadAloudService : BaseReadAloudService(),
for (i in start..contentList[nowSpeak].length) {
if (readAloudNumber + i > textChapter.getReadLength(pageIndex + 1)) {
pageIndex++
if (pageIndex < textChapter.pages.size) {
if (pageIndex < textChapter.pageSize) {
ReadBook.moveToNextPage()
}
postEvent(EventBus.TTS_PROGRESS, readAloudNumber + i)