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
This commit is contained in:
ByteHamster 2019-04-02 16:06:39 +02:00
parent 0fda36b9b3
commit 6fe171fac9
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}