diff options
Diffstat (limited to 'ui/glide')
-rw-r--r-- | ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java b/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java index 84e1d07a6..9acd3c2ee 100644 --- a/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java +++ b/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java @@ -81,7 +81,7 @@ public final class ChapterImageModelLoader implements ModelLoader<EmbeddedChapte Uri uri = Uri.parse(image.getMedia().getStreamUrl()); stream = new BufferedInputStream(context.getContentResolver().openInputStream(uri)); } else { - File localFile = new File(image.getMedia().getLocalMediaUrl()); + File localFile = new File(image.getMedia().getLocalFileUrl()); stream = new BufferedInputStream(new FileInputStream(localFile)); } IOUtils.skip(stream, image.getPosition()); |