优化
This commit is contained in:
1 parent
6db3bc6a3e
commit
0d4909651a
1 file changed
+4
-2
@@ -92,8 +92,10 @@ class MediaButtonReceiver : BroadcastReceiver() {
|
||||
} else {
|
||||
appDb.bookDao.lastReadBook?.let {
|
||||
ReadBook.resetData(it)
|
||||
ReadBook.curTextChapter ?: ReadBook.loadContent(false)
|
||||
ReadBook.readAloud()
|
||||
ReadBook.clearTextChapter()
|
||||
ReadBook.loadContent(false) {
|
||||
ReadBook.readAloud()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user