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