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

Loading…
Cancel
Save