pull/2578/head
kunfei 2 years ago
parent e06fe6f22d
commit d93f1bb52c
  1. 2
      app/src/main/java/io/legado/app/service/TTSReadAloudService.kt

@ -28,7 +28,6 @@ class TTSReadAloudService : BaseReadAloudService(), TextToSpeech.OnInitListener
override fun onCreate() {
super.onCreate()
initTts()
upSpeechRate()
}
override fun onDestroy() {
@ -45,6 +44,7 @@ class TTSReadAloudService : BaseReadAloudService(), TextToSpeech.OnInitListener
} else {
TextToSpeech(this, this, engine)
}
upSpeechRate()
}
@Synchronized

Loading…
Cancel
Save