Skip to content

Commit

Permalink
Initialize compatibleAnimation property within init
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Sergeev committed May 16, 2019
1 parent fc01fd6 commit 8ae72e8
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 8ae72e8

Please sign in to comment.