Skip to content

Commit 311ba44

Browse files
Bharat Medirattaps2
authored andcommitted
Use a clear fill color for the circle. (#355)
* Use a clear fill color for the circle. * Oops! Forgot to set the clear color for init?(coder:) as well
1 parent d540cce commit 311ba44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LoopUI/Views/LoopStateView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public final class LoopStateView: UIView {
5555
super.init(frame: frame)
5656

5757
shapeLayer.lineWidth = 8
58-
shapeLayer.fillColor = nil
58+
shapeLayer.fillColor = UIColor.clear.cgColor
5959
shapeLayer.strokeColor = freshness.color.cgColor
6060

6161
shapeLayer.path = drawPath()
@@ -65,7 +65,7 @@ public final class LoopStateView: UIView {
6565
super.init(coder: aDecoder)
6666

6767
shapeLayer.lineWidth = 8
68-
shapeLayer.fillColor = nil
68+
shapeLayer.fillColor = UIColor.clear.cgColor
6969
shapeLayer.strokeColor = freshness.color.cgColor
7070

7171
shapeLayer.path = drawPath()

0 commit comments

Comments
 (0)