mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Added option to show video thumbnails
This commit is contained in:
@@ -117,6 +117,11 @@ public class EntityAttachment {
|
||||
return ImageHelper.isImage(getMimeType());
|
||||
}
|
||||
|
||||
boolean isVideo() {
|
||||
String type = getMimeType();
|
||||
return (type != null && type.startsWith("video/"));
|
||||
}
|
||||
|
||||
boolean isAudio() {
|
||||
String type = getMimeType();
|
||||
return (type != null && type.startsWith("audio/"));
|
||||
|
||||
Reference in New Issue
Block a user