Fix metadata reading

This commit is contained in:
Christoph Hagen 2022-08-25 00:12:05 +02:00
parent 5b4db424b5
commit 91d5bcb66d
2 changed files with 6 additions and 2 deletions

View File

@ -129,7 +129,11 @@ extension GenericMetadata.LocalizedMetadata: Codable {
.moreLinkText,
.backLinkText,
.placeholderTitle,
.placeholderText
.placeholderText,
.titleSuffix,
.thumbnailSuffix,
.cornerText,
.externalUrl,
]
}

View File

@ -83,7 +83,7 @@ struct GenericMetadata {
- Note: This property is only relevant for sections.
- Note: This property is inherited from the parent if not specified.
*/
let thumbnailStyle: ThumbnailStyle?
let thumbnailStyle: String?
/**
Sort the child elements by their `sortIndex` property when generating overviews, instead of using the `date`.