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 = private val sourceEditActivity =
registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { registerForActivityResult(ActivityResultContracts.StartActivityForResult()) {
if (it.resultCode == RESULT_OK) { if (it.resultCode == RESULT_OK) {
viewModel.upBookSource {
upView() upView()
} }
} }
}
private val replaceActivity = private val replaceActivity =
registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { registerForActivityResult(ActivityResultContracts.StartActivityForResult()) {
if (it.resultCode == RESULT_OK) { if (it.resultCode == RESULT_OK) {

Loading…
Cancel
Save