pull/921/head
gedoor 4 years ago
parent 722b72927b
commit f1f6a5599d
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -81,9 +81,11 @@ class ReadBookActivity : ReadBookBaseActivity(),
private val sourceEditActivity =
registerForActivityResult(ActivityResultContracts.StartActivityForResult()) {
if (it.resultCode == RESULT_OK) {
viewModel.upBookSource {
upView()
}
}
}
private val replaceActivity =
registerForActivityResult(ActivityResultContracts.StartActivityForResult()) {
if (it.resultCode == RESULT_OK) {

Loading…
Cancel
Save