diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudConfigDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudConfigDialog.kt index bec5bd6d8..016b8975f 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudConfigDialog.kt +++ b/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())