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

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

Loading…
Cancel
Save