From 9a987726eb27a3df968ed4aded98b3f7ec962562 Mon Sep 17 00:00:00 2001 From: AndyBernie Date: Tue, 18 Aug 2020 09:33:55 +0800 Subject: [PATCH] Update PhotoDialog.kt --- app/src/main/java/io/legado/app/ui/widget/dialog/PhotoDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/widget/dialog/PhotoDialog.kt b/app/src/main/java/io/legado/app/ui/widget/dialog/PhotoDialog.kt index 74dfe23cd..c00064222 100644 --- a/app/src/main/java/io/legado/app/ui/widget/dialog/PhotoDialog.kt +++ b/app/src/main/java/io/legado/app/ui/widget/dialog/PhotoDialog.kt @@ -56,7 +56,7 @@ class PhotoDialog : BaseDialogFragment() { val src = it.getString("src") ReadBook.book?.let { book -> src?.let { - ImageProvider.getImage(book, chapterIndex, src)?.let { bitmap -> + ImageProvider.getImage(book, chapterIndex, src, src)?.let { bitmap -> photo_view.setImageBitmap(bitmap) } }