This commit is contained in:
Horis committed 2023-07-18 00:01:23 +08:00
1 parent 450a0553d7
commit 7d8bfecc84
2 files changed
+3 -2

No files matched your search

@@ -259,7 +259,6 @@ object Restore {
LauncherIconHelp.changeIcon(appCtx.getPrefString(PreferKey.launcherIcon))
}
ThemeConfig.applyDayNight(appCtx)
postEvent(EventBus.RECREATE, "")
}
}
@@ -308,7 +308,9 @@ class HttpReadAloudService : BaseReadAloudService(),
for (i in start..contentList[nowSpeak].length) {
if (readAloudNumber + i > textChapter.getReadLength(pageIndex + 1)) {
pageIndex++
ReadBook.moveToNextPage()
if (pageIndex < textChapter.pages.size) {
ReadBook.moveToNextPage()
}
postEvent(EventBus.TTS_PROGRESS, readAloudNumber + i)
}
delay(sleep)