From edd3ab77f9d15c014c8c14b9aefb826b628a4dca Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 16 Aug 2019 17:37:13 +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 b556af0ea..4d44842f0 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 @@ -233,6 +233,9 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea } when (readAloudStatus) { Status.STOP -> { + viewModel.book?.let { + ReadAloudService.paly(this, it.name, "", "") + } } Status.PLAY -> ReadAloudService.pause(this) Status.PAUSE -> ReadAloudService.resume(this)