Changed let to va
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
public struct SelectedImageItem: Codable, ObjectDebugger {
|
public struct SelectedImageItem: Codable, ObjectDebugger {
|
||||||
public let en: String?
|
public var en: String?
|
||||||
public let fr: String?
|
public var fr: String?
|
||||||
public let pl: String?
|
public var pl: String?
|
||||||
|
|
||||||
public var url: String {
|
public var url: String {
|
||||||
[en, fr, pl].compactMap { $0 }.first ?? ""
|
[en, fr, pl].compactMap { $0 }.first ?? ""
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
public struct SelectedImages: Codable, ObjectDebugger {
|
public struct SelectedImages: Codable, ObjectDebugger {
|
||||||
public let front: SelectedImage?
|
public var front: SelectedImage?
|
||||||
public let ingredients: SelectedImage?
|
public var ingredients: SelectedImage?
|
||||||
public let nutrition: SelectedImage?
|
public var nutrition: SelectedImage?
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user