From 9bfffd33bd28233e649b9e6e7a8e2db5c12439bc Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 25 Aug 2019 19:12:43 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/readbook/ReadBookActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index 84e90e8f9..e9caf141d 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -277,6 +277,9 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea override fun setPageIndex(pageIndex: Int) { viewModel.durPageIndex = pageIndex viewModel.saveRead() + if (readAloudStatus == Status.PLAY) { + readAloud() + } } override fun textChapter(chapterOnDur: Int): TextChapter? {