Forgot public keyword
This commit is contained in:
@@ -3,7 +3,7 @@ public class SelectedImage: Codable, ObjectDebugger {
|
||||
public var small: SelectedImageItem?
|
||||
public var thumb: SelectedImageItem?
|
||||
|
||||
init(display: SelectedImageItem?, small: SelectedImageItem?, thumb: SelectedImageItem?) {
|
||||
public init(display: SelectedImageItem?, small: SelectedImageItem?, thumb: SelectedImageItem?) {
|
||||
self.display = display
|
||||
self.small = small
|
||||
self.thumb = thumb
|
||||
|
||||
@@ -7,7 +7,7 @@ public struct SelectedImageItem: Codable, ObjectDebugger {
|
||||
[en, fr, pl].compactMap { $0 }.first ?? ""
|
||||
}
|
||||
|
||||
init(en: String?, fr: String?, pl: String) {
|
||||
public init(en: String?, fr: String?, pl: String) {
|
||||
self.en = en
|
||||
self.fr = fr
|
||||
self.pl = pl
|
||||
|
||||
@@ -3,7 +3,7 @@ public struct SelectedImages: Codable, ObjectDebugger {
|
||||
public var ingredients: SelectedImage?
|
||||
public var nutrition: SelectedImage?
|
||||
|
||||
init(front: SelectedImage?, ingredients: SelectedImage?, nutrition: SelectedImage?) {
|
||||
public init(front: SelectedImage?, ingredients: SelectedImage?, nutrition: SelectedImage?) {
|
||||
self.front = front
|
||||
self.ingredients = ingredients
|
||||
self.nutrition = nutrition
|
||||
|
||||
Reference in New Issue
Block a user