Skip to content

Commit

Permalink
Fix binary incompatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed May 2, 2024
1 parent 82b3f1d commit b2ae29f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coil-gif/src/main/java/coil3/gif/internal/utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ internal fun animatable2CompatCallbackOf(
onStart: (() -> Unit)?,
onEnd: (() -> Unit)?
) = object : Animatable2Compat.AnimationCallback() {
override fun onAnimationStart(drawable: Drawable?) { onStart?.invoke() }
override fun onAnimationEnd(drawable: Drawable?) { onEnd?.invoke() }
override fun onAnimationStart(drawable: Drawable) { onStart?.invoke() }
override fun onAnimationEnd(drawable: Drawable) { onEnd?.invoke() }
}

0 comments on commit b2ae29f

Please sign in to comment.