|
|
@ -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() |
|
|
|