We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5fdd954 + 652f36e commit 12b9718Copy full SHA for 12b9718
Sources/ScreenData/Views/SomeImage.swift
@@ -2,6 +2,7 @@ public struct SomeImage: Codable, Hashable {
2
public var id: String?
3
4
public var url: String
5
+ public var assetName: String?
6
public var aspectScale: ImageAspectScale
7
8
public var style: SomeStyle?
@@ -15,12 +16,14 @@ public struct SomeImage: Codable, Hashable {
15
16
public init(
17
id: String? = nil,
18
url: String,
19
+ assetName: String? = nil,
20
aspectScale: ImageAspectScale,
21
style: SomeStyle? = nil,
22
destination: Destination? = nil
23
) {
24
self.id = id
25
self.url = url
26
+ self.assetName = assetName
27
self.aspectScale = aspectScale
28
self.style = style
29
self.destination = destination
0 commit comments