Skip to content

Commit

Permalink
fixed: grow color not applying on loader
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoVillanova committed Aug 15, 2017
1 parent aedb909 commit 26393c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pod/Classes/UIView+Grow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ extension UIView {
func grow(_ baseColor: UIColor, radius: CGFloat, shininess: CGFloat) {
guard let sublayers = layer.sublayers as? [CAShapeLayer] else { return }

let growColor = UIColor(red: 0 / 255.0, green: 1, blue: 1, alpha: 1.0)
let growColor = baseColor
growShadow(radius, growColor: growColor, shininess: shininess)
let circle = CAShapeLayer()
circle.path = UIBezierPath(ovalIn: CGRect(x: 0, y: 0, width: radius * 2.0, height: radius * 2.0)).cgPath
Expand Down

0 comments on commit 26393c0

Please sign in to comment.