pull/1612/head
kunfei 3 years ago
parent b0f82513fb
commit 5ca3758dcc
  1. 4
      app/src/main/java/io/legado/app/receiver/MediaButtonReceiver.kt

@ -92,7 +92,8 @@ class MediaButtonReceiver : BroadcastReceiver() {
} else {
appDb.bookDao.lastReadBook?.let {
ReadBook.resetData(it)
ReadBook.curTextChapter ?: ReadBook.loadContent(false)
ReadBook.clearTextChapter()
ReadBook.loadContent(false) {
ReadBook.readAloud()
}
}
@ -100,5 +101,6 @@ class MediaButtonReceiver : BroadcastReceiver() {
}
}
}
}
}

Loading…
Cancel
Save