Skip to content

Commit

Permalink
Merge pull request airbnb#913 from antonsergeev88/initialize-compatib…
Browse files Browse the repository at this point in the history
…le-animation-property

Initialize compatibleAnimation property within init
  • Loading branch information
thedrick committed May 28, 2019
2 parents 62fe123 + 8ae72e8 commit b031dce
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public final class CompatibleAnimationView: UIView {
@objc
init(compatibleAnimation: CompatibleAnimation) {
animationView = AnimationView(animation: compatibleAnimation.animation)
self.compatibleAnimation = compatibleAnimation
super.init(frame: .zero)
commonInit()
}
Expand Down

0 comments on commit b031dce

Please sign in to comment.