From 5886a3eaf1cd0d4f1ecc22ee8836b8c3ceee1f75 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 29 Jul 2019 09:16:19 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/sourceedit/SourceEditActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 7241998da..03e1287a0 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 @@ -191,8 +191,7 @@ class SourceEditActivity : BaseActivity(false), KeyboardToo findEditList.add(EditEntity("coverUrl", this?.coverUrl, R.string.rule_cover_url)) findEditList.add(EditEntity("bookUrl", this?.bookUrl, R.string.rule_book_url)) } - adapter.editEntities = sourceEditList - adapter.notifyDataSetChanged() + setEditEntities(0) } private fun getSource(): BookSource? {