优化
This commit is contained in:
1 parent
6c8eedff8b
commit
a8c3739dd8
1 file changed
+1
-1
@@ -779,7 +779,7 @@ class ReadBookActivity : BaseReadBookActivity(),
|
|||||||
|
|
||||||
override fun changeTo(source: BookSource, book: Book, toc: List<BookChapter>) {
|
override fun changeTo(source: BookSource, book: Book, toc: List<BookChapter>) {
|
||||||
if (book.type != BookType.audio) {
|
if (book.type != BookType.audio) {
|
||||||
viewModel.changeTo(source, book, toc)
|
viewModel.changeTo(book, toc)
|
||||||
} else {
|
} else {
|
||||||
ReadAloud.stop(this)
|
ReadAloud.stop(this)
|
||||||
launch {
|
launch {
|
||||||
|
|||||||
Reference in new issue
Block a user