Skip to content

Commit

Permalink
Create new `SkeletonGradient constructor (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanpe authored Jan 10, 2022
1 parent cb4dcfd commit 106692f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SkeletonViewCore/Sources/API/Models/SkeletonGradient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ public struct SkeletonGradient {
}
}

public init(colors: [UIColor]) {
self.gradientColors = colors
}

}

0 comments on commit 106692f

Please sign in to comment.