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