Handle com.compuserve.gif type with dataForPasteboardType (#3857)
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
This commit is contained in:
parent
44c3910ce6
commit
96e017e9eb
1 changed files with 3 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue