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 9fb3f077f..bfd63c362 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 @@ -26,6 +26,7 @@ class FileAssociationActivity : VMBaseActivity( viewModel.errorLiveData.observe(this, Observer { rotate_loading.hide() toast(it) + finish() }) viewModel.successLiveData.observe(this, Observer { rotate_loading.hide()