pull/306/head
gedoor 4 years ago
parent 9ecc192186
commit 83574a9086
  1. 1
      app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt

@ -26,6 +26,7 @@ class FileAssociationActivity : VMBaseActivity<FileAssociationViewModel>(
viewModel.errorLiveData.observe(this, Observer { viewModel.errorLiveData.observe(this, Observer {
rotate_loading.hide() rotate_loading.hide()
toast(it) toast(it)
finish()
}) })
viewModel.successLiveData.observe(this, Observer { viewModel.successLiveData.observe(this, Observer {
rotate_loading.hide() rotate_loading.hide()

Loading…
Cancel
Save