This commit is contained in:
Horis committed 2023-10-26 23:38:52 +08:00
1 parent 4dcb8a38d0
commit cab47b2895
1 file changed
+2
@@ -104,9 +104,11 @@ class AutoReadDialog : BaseDialogFragment(R.layout.dialog_auto_read) {
binding.llCatalog.setOnClickListener { callBack?.openChapterList() } binding.llCatalog.setOnClickListener { callBack?.openChapterList() }
binding.llAutoPageStop.setOnClickListener { binding.llAutoPageStop.setOnClickListener {
callBack?.autoPageStop() callBack?.autoPageStop()
binding.llAutoPageStop.post {
dismissAllowingStateLoss() dismissAllowingStateLoss()
} }
} }
}
private fun upTtsSpeechRate() { private fun upTtsSpeechRate() {
ReadAloud.upTtsSpeechRate(requireContext()) ReadAloud.upTtsSpeechRate(requireContext())