diff options
author | ByteHamster <info@bytehamster.com> | 2019-04-02 16:06:39 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-04-02 17:41:21 +0200 |
commit | 6fe171fac95fe80999a2c006b67f654d2fb906ca (patch) | |
tree | ce652aefec2dc819c265bcf22734c6ee4d3f408a /core/src/main/java | |
parent | 0fda36b9b3cd698a0d43f7041324dad234e8252c (diff) | |
download | AntennaPod-6fe171fac95fe80999a2c006b67f654d2fb906ca.zip |
Use ApOkHttpUrlLoader for all images
Probably got broken during my Glide update.
When using append or prepend, Glide uses the next one in the chain if ApOkHttpUrlLoader blocks
Diffstat (limited to 'core/src/main/java')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/glide/ApGlideModule.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/glide/ApGlideModule.java b/core/src/main/java/de/danoeh/antennapod/core/glide/ApGlideModule.java index ec10b78aa..552c1b691 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/glide/ApGlideModule.java +++ b/core/src/main/java/de/danoeh/antennapod/core/glide/ApGlideModule.java @@ -31,6 +31,6 @@ public class ApGlideModule extends AppGlideModule { @Override public void registerComponents(@NonNull Context context, @NonNull Glide glide, @NonNull Registry registry) { - registry.append(String.class, InputStream.class, new ApOkHttpUrlLoader.Factory()); + registry.replace(String.class, InputStream.class, new ApOkHttpUrlLoader.Factory()); } } |