Use Photo instead of Image for maybe-animated images that arent gifs
This commit is contained in:
parent
491a8fe665
commit
de393e389c
@ -433,9 +433,6 @@
|
||||
/* Short text label for a gif attachment, used for thread preview and on the lock screen */
|
||||
"ATTACHMENT_TYPE_GIF" = "GIF";
|
||||
|
||||
/* Short text label for an image attachment, used for thread preview and on the lock screen */
|
||||
"ATTACHMENT_TYPE_IMAGE" = "Image";
|
||||
|
||||
/* Short text label for a photo attachment, used for thread preview and on the lock screen */
|
||||
"ATTACHMENT_TYPE_PHOTO" = "Photo";
|
||||
|
||||
|
||||
@ -333,8 +333,8 @@ NSUInteger const TSAttachmentSchemaVersion = 1;
|
||||
attachmentString = OWSLocalizedString(@"ATTACHMENT_TYPE_GIF",
|
||||
@"Short text label for a gif attachment, used for thread preview and on the lock screen");
|
||||
} else {
|
||||
attachmentString = OWSLocalizedString(@"ATTACHMENT_TYPE_IMAGE",
|
||||
@"Short text label for an image attachment, used for thread preview and on the lock screen");
|
||||
attachmentString = OWSLocalizedString(@"ATTACHMENT_TYPE_PHOTO",
|
||||
@"Short text label for a photo attachment, used for thread preview and on the lock screen");
|
||||
}
|
||||
} else if ([MIMETypeUtil isImage:self.contentType]) {
|
||||
attachmentString = OWSLocalizedString(@"ATTACHMENT_TYPE_PHOTO",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user