diff --git a/app/src/main/java/io/legado/app/ui/filechooser/FileChooserDialog.kt b/app/src/main/java/io/legado/app/ui/filechooser/FileChooserDialog.kt index baac1f201..4459bd8cc 100644 --- a/app/src/main/java/io/legado/app/ui/filechooser/FileChooserDialog.kt +++ b/app/src/main/java/io/legado/app/ui/filechooser/FileChooserDialog.kt @@ -160,6 +160,7 @@ class FileChooserDialog : DialogFragment(), else -> item?.title?.let { (parentFragment as? CallBack)?.onMenuClick(it.toString()) (activity as? CallBack)?.onMenuClick(it.toString()) + dismiss() } } return true