|
|
@ -225,7 +225,7 @@ class BookSourceEditActivity : |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun getSource(): BookSource? { |
|
|
|
private fun getSource(): BookSource? { |
|
|
|
val source = viewModel.sourceLiveData.value ?: BookSource() |
|
|
|
val source = viewModel.sourceLiveData.value?.copy() ?: BookSource() |
|
|
|
source.enabled = cb_is_enable.isChecked |
|
|
|
source.enabled = cb_is_enable.isChecked |
|
|
|
source.enabledExplore = cb_is_enable_find.isChecked |
|
|
|
source.enabledExplore = cb_is_enable_find.isChecked |
|
|
|
viewModel.sourceLiveData.value?.let { |
|
|
|
viewModel.sourceLiveData.value?.let { |
|
|
|