pull/1352/head
gedoor 3 years ago
parent 75f996f4a9
commit 690e3e6b8f
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudDialog.kt

@ -162,8 +162,12 @@ class ReadAloudDialog : BaseDialogFragment() {
} }
private fun upTimerText(timeMinute: Int) { private fun upTimerText(timeMinute: Int) {
if (timeMinute < 0) {
binding.tvTimer.text = requireContext().getString(R.string.timer_m, 0)
} else {
binding.tvTimer.text = requireContext().getString(R.string.timer_m, timeMinute) binding.tvTimer.text = requireContext().getString(R.string.timer_m, timeMinute)
} }
}
private fun upTtsSpeechRate() { private fun upTtsSpeechRate() {
ReadAloud.upTtsSpeechRate(requireContext()) ReadAloud.upTtsSpeechRate(requireContext())

Loading…
Cancel
Save