Handle com.compuserve.gif type with dataForPasteboardType (#3854)

This commit is contained in:
Miguel Alatzar 2020-01-24 07:24:32 -07:00 committed by Amit Uttam
parent 36e32f20b8
commit 535239d070

View file

@ -25,6 +25,7 @@
}
NSString *type = item.allKeys[j];
@try {
NSString *uri = self.string;
@ -32,6 +33,8 @@
if ([type isEqual:@"public.jpeg"] || [type isEqual:@"public.heic"] || [type isEqual:@"public.png"]) {
fileData = [self getDataForImageItem:item[type] type:type];
} else if ([type isEqual:@"com.compuserve.gif"]) {
fileData = [self dataForPasteboardType:type];
}
SwimeProxy *swimeProxy = [SwimeProxy shared];