Skip to content

Commit cde3a4e

Browse files
committed
remove CGSize.Circle
1 parent d533d8a commit cde3a4e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Sources/BlurHashKit/BlurHashView.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public struct BlurHashView: UIViewRepresentable {
99

1010
public init(
1111
blurHash: String,
12-
size: CGSize = .Circle(radius: 12),
12+
size: CGSize = .init(width: 12, height: 12),
1313
pixels: Int = 1024,
1414
punch: Float = 1
1515
) {
@@ -68,9 +68,3 @@ public class UIBlurHashImageView: UIImageView {
6868
}
6969
}
7070
}
71-
72-
public extension CGSize {
73-
static func Circle(radius: CGFloat) -> CGSize {
74-
.init(width: radius, height: radius)
75-
}
76-
}

0 commit comments

Comments
 (0)