summaryrefslogtreecommitdiff
path: root/ui/glide
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-03-23 11:27:55 +0100
committerGitHub <noreply@github.com>2024-03-23 11:27:55 +0100
commitf6b45e7162ce3909cb2b04a4124e71aad22240c6 (patch)
tree9aa8a0b64b399c99da4e8d82ad4dae146a10564f /ui/glide
parentf20ce1fc690788273bb779663a4f3211f47a0973 (diff)
downloadAntennaPod-f6b45e7162ce3909cb2b04a4124e71aad22240c6.zip
Rename FeedMedia methods to no longer have underscores (#7017)
Diffstat (limited to 'ui/glide')
-rw-r--r--ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java2
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());