pull/977/head
gedoor 4 years ago
parent 89e8976217
commit cd3f352c92
  1. 1
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -80,6 +80,7 @@ class ReadBookActivity : ReadBookBaseActivity(),
} }
private val sourceEditActivity = private val sourceEditActivity =
registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { registerForActivityResult(ActivityResultContracts.StartActivityForResult()) {
it ?: return@registerForActivityResult
if (it.resultCode == RESULT_OK) { if (it.resultCode == RESULT_OK) {
viewModel.upBookSource { viewModel.upBookSource {
upView() upView()

Loading…
Cancel
Save