From 63e6aae818b53d4e5a62ea1eb65a3f6cf9a05652 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 29 Jul 2019 09:13:35 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt index 579386db2..7241998da 100644 --- a/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt +++ b/app/src/main/java/io/legado/app/ui/sourceedit/SourceEditActivity.kt @@ -196,7 +196,7 @@ class SourceEditActivity : BaseActivity(false), KeyboardToo } private fun getSource(): BookSource? { - val source = viewModel.sourceLiveData.value?.copy() ?: BookSource() + val source = viewModel.sourceLiveData.value ?: BookSource() source.enabled = cb_is_enable.isChecked source.enabledExplore = cb_is_enable_find.isChecked viewModel.sourceLiveData.value?.let {