|
|
@ -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()) |
|
|
|