在线朗读改为自定义

pull/332/head 3.20.082416
gedoor 4 years ago
parent 275e1b9eeb
commit 0c41a61de3
  1. 1
      app/src/main/java/io/legado/app/service/help/ReadAloud.kt

@ -18,6 +18,7 @@ object ReadAloud {
private fun getReadAloudClass(): Class<*> { private fun getReadAloudClass(): Class<*> {
val spId = App.INSTANCE.getPrefLong(PreferKey.speakEngine) val spId = App.INSTANCE.getPrefLong(PreferKey.speakEngine)
httpTTS = App.db.httpTTSDao().get(spId) httpTTS = App.db.httpTTSDao().get(spId)
stop(App.INSTANCE)
return if (httpTTS != null) { return if (httpTTS != null) {
HttpReadAloudService::class.java HttpReadAloudService::class.java
} else { } else {

Loading…
Cancel
Save