mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-02 18:36:44 +01:00
commit
e56ab2aa4d
@ -65,7 +65,7 @@ extension NSItemProvider {
|
||||
}
|
||||
|
||||
let data = NSMutableData()
|
||||
guard let imageDestination = CGImageDestinationCreateWithData(data, kUTTypeJPEG, 1, nil) else {
|
||||
guard let imageDestination = CGImageDestinationCreateWithData(data, UTType.jpeg.identifier as CFString, 1, nil) else {
|
||||
continuation.resume(with: .success(nil))
|
||||
assertionFailure()
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user