fix:朗读设置对话框的朗读引擎显示的是全局默认引擎

pull/1606/head
Xwite 3 years ago
parent dcac87edc5
commit 8b615fd4ee
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudConfigDialog.kt

@ -60,7 +60,7 @@ class ReadAloudConfigDialog : DialogFragment() {
private val speakEngineSummary: String
get() {
val ttsEngine = AppConfig.ttsEngine
val ttsEngine = ReadAloud.ttsEngine
?: return getString(R.string.system_tts)
if (StringUtils.isNumeric(ttsEngine)) {
return appDb.httpTTSDao.getName(ttsEngine.toLong())

Loading…
Cancel
Save