feat: 优化代码

pull/145/head
kunfei 5 years ago
parent 16b7ea7347
commit 23a718a795
  1. 4
      app/src/main/java/io/legado/app/service/TTSReadAloudService.kt

@ -175,9 +175,7 @@ class TTSReadAloudService : BaseReadAloudService(), TextToSpeech.OnInitListener
}
override fun onError(s: String) {
launch {
toast(s)
}
pauseReadAloud(true)
}
}

Loading…
Cancel
Save