Skip to content

Commit 1137add

Browse files
committed
fix GIF priority
1 parent a66453a commit 1137add

File tree

1 file changed

+1
-1
lines changed
  • glideplugin/src/main/java/com/opensource/svgaplayer/glideplugin

1 file changed

+1
-1
lines changed

glideplugin/src/main/java/com/opensource/svgaplayer/glideplugin/SVGAModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SVGAModule : LibraryGlideModule() {
2727

2828
override fun registerComponents(context: Context, glide: Glide, registry: Registry) {
2929
registry.setResourceDecoderBucketPriorityList(
30-
listOf(BUCKET_SVGA, BUCKET_BITMAP, BUCKET_BITMAP_DRAWABLE, BUCKET_GIF)
30+
listOf(BUCKET_SVGA, BUCKET_GIF, BUCKET_BITMAP, BUCKET_BITMAP_DRAWABLE)
3131
)
3232
hookTheImageViewFactory(glide)
3333
val resources = context.resources

0 commit comments

Comments
 (0)