pull/1612/head
kunfei 3 years ago
parent 5ca3758dcc
commit e7fe0c88e9
  1. 1
      app/src/main/java/io/legado/app/ui/book/read/config/SpeakEngineDialog.kt

@ -113,6 +113,7 @@ class SpeakEngineDialog(val callBack: CallBack) : BaseDialogFragment(R.layout.di
tvOk.setOnClickListener { tvOk.setOnClickListener {
ReadBook.book?.setTtsEngine(null) ReadBook.book?.setTtsEngine(null)
AppConfig.ttsEngine = ttsEngine AppConfig.ttsEngine = ttsEngine
callBack.upSpeakEngineSummary()
ReadAloud.upReadAloudClass() ReadAloud.upReadAloudClass()
dismissAllowingStateLoss() dismissAllowingStateLoss()
} }

Loading…
Cancel
Save