Lottie improvements

This commit is contained in:
Ali
2022-06-07 13:31:47 +04:00
parent 73d4647439
commit 309356b8c6
9 changed files with 76 additions and 9 deletions

View File

@@ -48,7 +48,7 @@ public final class CompatibleAnimationView: UIView {
@objc
public init(compatibleAnimation: CompatibleAnimation) {
animationView = AnimationView(animation: compatibleAnimation.animation)
animationView = AnimationView(animation: compatibleAnimation.animation, configuration: LottieConfiguration(renderingEngine: .mainThread, decodingStrategy: .codable))
self.compatibleAnimation = compatibleAnimation
super.init(frame: .zero)
commonInit()