Skip to content

Commit

Permalink
Be specific about the type in AnimatedView
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrmarin committed Oct 31, 2023
1 parent f66e717 commit b4ac1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StylableSwiftUI/Classes/Animated/AnimatedView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ struct AnimatedView: UIViewRepresentable {
let animation: LottieAnimation
let repeats: Bool

func makeUIView(context: Context) -> some UIView {
func makeUIView(context: Context) -> UIView {
let parent = UIView(frame: .zero)

let animationView = LottieAnimationView(frame: .zero)
Expand All @@ -26,5 +26,5 @@ struct AnimatedView: UIViewRepresentable {
return parent
}

func updateUIView(_ uiView: UIViewType, context: Context) { }
func updateUIView(_ uiView: UIView, context: Context) { }
}

0 comments on commit b4ac1b8

Please sign in to comment.