Simplify images, tag overview
This commit is contained in:
@@ -13,9 +13,9 @@ struct FeedEntryData {
|
||||
|
||||
let text: [String]
|
||||
|
||||
let images: [Image]
|
||||
let images: [ImageSet]
|
||||
|
||||
init(entryId: String, title: String?, textAboveTitle: String, link: Link?, tags: [Tag], text: [String], images: [Image]) {
|
||||
init(entryId: String, title: String?, textAboveTitle: String, link: Link?, tags: [Tag], text: [String], images: [ImageSet]) {
|
||||
self.entryId = entryId
|
||||
self.title = title
|
||||
self.textAboveTitle = textAboveTitle
|
||||
@@ -40,16 +40,4 @@ struct FeedEntryData {
|
||||
let url: String
|
||||
|
||||
}
|
||||
|
||||
struct Image {
|
||||
|
||||
let rawImagePath: String
|
||||
|
||||
let width: Int
|
||||
|
||||
let height: Int
|
||||
|
||||
let altText: String
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user