From 53272442730b129942f5592af24faf04f9f48f56 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 19 Aug 2019 17:47:15 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/changesource/ChangeSourceDialog.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt index c02604376..ab8e5be74 100644 --- a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt @@ -117,6 +117,9 @@ class ChangeSourceDialog : DialogFragment(), book.customCoverUrl = oldBook.customCoverUrl book.customIntro = oldBook.customIntro book.order = oldBook.order + if (book.coverUrl.isNullOrEmpty()) { + book.coverUrl = oldBook.getDisplayCover() + } } it.changeTo(book) }