mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Added PDF previews
This commit is contained in:
@@ -117,6 +117,10 @@ public class EntityAttachment {
|
||||
return ImageHelper.isImage(getMimeType());
|
||||
}
|
||||
|
||||
boolean isPDF() {
|
||||
return "application/pdf".equals(getMimeType());
|
||||
}
|
||||
|
||||
boolean isCompressed() {
|
||||
if ("application/zip".equals(type))
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user