@ -215,6 +215,7 @@ object ReadBook : CoroutineScope by MainScope() {
*/
fun readAloud(play: Boolean = true) {
book?.let {
ReadAloud.upReadAloudClass()
ReadAloud.play(appCtx, play)
}
@ -37,7 +37,6 @@ class HttpTtsEditViewModel(app: Application) : BaseViewModel(app) {
id = httpTTS.id
execute {
appDb.httpTTSDao.insert(httpTTS)
}.onSuccess {
success?.invoke()
@ -112,7 +112,6 @@ class ReadAloudConfigDialog : DialogFragment() {
PreferKey.ttsEngine -> {
upPreferenceSummary(findPreference(key), speakEngineSummary)