This commit is contained in:
kunfei committed 2022-02-11 20:39:17 +08:00
1 parent 6db3bc6a3e
commit 0d4909651a
1 file changed
+3 -1
@@ -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() {
}
}
}
}
}