优化
This commit is contained in:
1 parent
6637a4b78b
commit
851677d068
1 file changed
+1
-1
@@ -308,7 +308,7 @@ class HttpReadAloudService : BaseReadAloudService(),
|
|||||||
for (i in start..contentList[nowSpeak].length) {
|
for (i in start..contentList[nowSpeak].length) {
|
||||||
if (readAloudNumber + i > textChapter.getReadLength(pageIndex + 1)) {
|
if (readAloudNumber + i > textChapter.getReadLength(pageIndex + 1)) {
|
||||||
pageIndex++
|
pageIndex++
|
||||||
if (pageIndex < textChapter.pages.size) {
|
if (pageIndex < textChapter.pageSize) {
|
||||||
ReadBook.moveToNextPage()
|
ReadBook.moveToNextPage()
|
||||||
}
|
}
|
||||||
postEvent(EventBus.TTS_PROGRESS, readAloudNumber + i)
|
postEvent(EventBus.TTS_PROGRESS, readAloudNumber + i)
|
||||||
|
|||||||
Reference in new issue
Block a user