diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/AutoReadDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/AutoReadDialog.kt index c14f9faf44d9..b637a9fe6744 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/AutoReadDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/config/AutoReadDialog.kt @@ -104,7 +104,9 @@ class AutoReadDialog : BaseDialogFragment(R.layout.dialog_auto_read) { binding.llCatalog.setOnClickListener { callBack?.openChapterList() } binding.llAutoPageStop.setOnClickListener { callBack?.autoPageStop() - dismissAllowingStateLoss() + binding.llAutoPageStop.post { + dismissAllowingStateLoss() + } } }