diff --git a/lottie-swift/src/Public/iOS/AnimatedButton.swift b/lottie-swift/src/Public/iOS/AnimatedButton.swift index c2960073cf..4f7e615f53 100644 --- a/lottie-swift/src/Public/iOS/AnimatedButton.swift +++ b/lottie-swift/src/Public/iOS/AnimatedButton.swift @@ -47,7 +47,6 @@ final public class AnimatedButton: AnimatedControl { if let playrange = rangesForEvents[touchEvent.rawValue] { animationView.play(fromProgress: playrange.from, toProgress: playrange.to, loopMode: LottieLoopMode.playOnce) } - sendActions(for: touchEvent) return true } @@ -63,6 +62,5 @@ final public class AnimatedButton: AnimatedControl { if let playrange = rangesForEvents[touchEvent.rawValue] { animationView.play(fromProgress: playrange.from, toProgress: playrange.to, loopMode: LottieLoopMode.playOnce) } - sendActions(for: touchEvent) } }