Skip to content

Commit

Permalink
fix class missed in scope refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeta51 committed Jul 2, 2024
1 parent 0bdd1da commit e557c52
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import androidx.compose.ui.unit.IntSize
import com.airbnb.lottie.AsyncUpdates
import com.airbnb.lottie.LottieComposition
import com.airbnb.lottie.LottieDrawable
import com.airbnb.lottie.LottieFeatureFlags
import com.airbnb.lottie.LottieFeatureFlag
import com.airbnb.lottie.RenderMode
import kotlin.math.roundToInt

Expand Down Expand Up @@ -105,7 +105,7 @@ class LottiePainter internal constructor(
matrix.reset()
matrix.preScale(intSize.width / compositionSize.width, intSize.height / compositionSize.height)

drawable.enableFeatureFlag(LottieFeatureFlags.FeatureFlag.MergePathsApi19, enableMergePaths)
drawable.enableFeatureFlag(LottieFeatureFlag.MergePathsApi19, enableMergePaths)
drawable.renderMode = renderMode
drawable.asyncUpdates = asyncUpdates
drawable.composition = composition
Expand Down

0 comments on commit e557c52

Please sign in to comment.