mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 08:32:16 +01:00
Check for images only on reply
This commit is contained in:
@@ -76,6 +76,10 @@ public class EntityAttachment {
|
||||
return (disposition != null && disposition.equalsIgnoreCase(Part.INLINE));
|
||||
}
|
||||
|
||||
boolean isImage() {
|
||||
return type.startsWith("image/");
|
||||
}
|
||||
|
||||
File getFile(Context context) {
|
||||
File dir = new File(context.getFilesDir(), "attachments");
|
||||
if (!dir.exists())
|
||||
|
||||
Reference in New Issue
Block a user