This commit is contained in:
Thomas Ricouard 2024-01-06 14:49:07 +01:00
parent 36cc3d5207
commit c24403094c
1 changed files with 2 additions and 2 deletions

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()
}
}
}