Skip to content

Commit ac1acd4

Browse files
committed
Updated Spacer
1 parent 8409dde commit ac1acd4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
public struct SomeSpacer: Codable, Hashable {
2+
public var size: Int
23

34
public var type: ViewType {
45
.spacer
56
}
67

8+
public init(size: Int) {
9+
self.size = size
10+
}
711
}
12+

0 commit comments

Comments
 (0)