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 49f624f38..d5aba7ae9 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 @@ -40,7 +40,8 @@ class PhotoDialog() : BaseDialogFragment(R.layout.dialog_photo_view) { .error(R.drawable.image_loading_error) .into(binding.photoView) } else { - BookCover.load(requireContext(), path = src) + ImageLoader.load(requireContext(), src) + .error(BookCover.defaultDrawable) .into(binding.photoView) } }