File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,15 @@ public struct ClockWrapper: Codable {
2020
2121public struct ClockAsset : Codable {
2222
23- internal init ( imageData: String = " " , filename: String = " " , hasTransparency: Bool = true ) {
23+ public var imageData : String = " "
24+ public var filename : String = " "
25+ public var hasTransparency : Bool = true //use PNG or JPG decoding
26+
27+ public init ( imageData: String = " " , filename: String = " " , hasTransparency: Bool = true ) {
2428 self . imageData = imageData
2529 self . filename = filename
2630 self . hasTransparency = hasTransparency
2731 }
28-
29-
30- public var imageData : String = " "
31- public var filename : String = " "
32- public var hasTransparency : Bool = true //use PNG or JPG decoding
3332}
3433
3534public struct ClockStandard: Codable {
@@ -38,7 +37,7 @@ public struct ClockStandard: Codable {
3837
3938 public var layers : [ ClockLayer ]
4039
41- public init ( title: String , layers : [ ClockLayer ] ) {
40+ getEmbeddedClockAssets init( title: String , layers : [ ClockLayer ] ) {
4241 self . title = title
4342 self . layers = layers
4443 }
You can’t perform that action at this time.
0 commit comments