Merge pull request #1867 from Xwite/master

fix: ui bug
pull/1894/head
kunfei 3 years ago committed by GitHub
commit da9a7df203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      app/src/main/java/io/legado/app/ui/association/FileAssociationActivity.kt

@ -89,6 +89,7 @@ class FileAssociationActivity :
finish()
}
viewModel.notSupportedLiveData.observe(this) { data ->
binding.rotateLoading.hide()
alert(
title = appCtx.getString(R.string.draw),
message = appCtx.getString(R.string.file_not_supported, data.second)
@ -96,7 +97,9 @@ class FileAssociationActivity :
okButton {
importBook(data.first)
}
cancelButton()
cancelButton {
finish()
}
}
}
intent.data?.let { data ->

Loading…
Cancel
Save