Fix preview crash

This commit is contained in:
Christoph Hagen
2024-12-06 22:07:22 +01:00
parent 5fb689ac7c
commit 42a5d01480
4 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ struct MockImage {
static var images: [ImageResource] {
["image1", "image2", "image3", "image4"]
.map(ImageResource.init)
.map { ImageResource(resourceName: $0, type: .jpg) }
}
}