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:
parent
0fda36b9b3
commit
6fe171fac9
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue