Update PhotoDialog.kt

pull/314/head
AndyBernie 4 years ago committed by GitHub
parent 996bf4d558
commit 9a987726eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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)
}
}

Loading…
Cancel
Save