pull/32/head
kunfei 5 years ago
parent 866b2988d8
commit edd3ab77f9
  1. 3
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt

@ -233,6 +233,9 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(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)

Loading…
Cancel
Save