fix deprecations.
This commit is contained in:
4 files changed
+8
-9
No files matched your search
+1
-1
@@ -1100,7 +1100,7 @@
|
||||
|
||||
if (representations.count) {
|
||||
NSData *bitmapData = [NSBitmapImageRep representationOfImageRepsInArray:representations
|
||||
usingType:NSPNGFileType properties:@{}];
|
||||
usingType:NSBitmapImageFileTypePNG properties:@{}];
|
||||
|
||||
if (bitmapData) {
|
||||
newArtwork.data = (void *)bitmapData.bytes;
|
||||
|
||||
Reference in new issue
Block a user