diff --git a/app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt b/app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt index 889a048d5..1231df9ae 100644 --- a/app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt +++ b/app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt @@ -27,7 +27,7 @@ class FileAssociationActivity : intent.data?.let { uri -> importBook(treeUri, uri) } - } + } ?: finish() } override val binding by viewBinding(ActivityTranslucenceBinding::inflate)