This commit is contained in:
Thomas Ricouard 2024-01-06 14:49:07 +01:00
parent 36cc3d5207
commit c24403094c

View file

@ -14,8 +14,8 @@ struct MediaUIImageTransferable: Codable, Transferable {
}
static var transferRepresentation: some TransferRepresentation {
DataRepresentation(exportedContentType: .jpeg) { media in
await media.fetchData()
DataRepresentation(exportedContentType: .jpeg) { transferable in
await transferable.fetchData()
}
}
}