mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Refactoring
This commit is contained in:
@@ -19,6 +19,8 @@ package eu.faircode.email;
|
||||
Copyright 2018-2021 by Marcel Bokhorst (M66B)
|
||||
*/
|
||||
|
||||
import static androidx.room.ForeignKey.CASCADE;
|
||||
|
||||
import android.content.Context;
|
||||
import android.text.TextUtils;
|
||||
|
||||
@@ -36,8 +38,6 @@ import java.util.Objects;
|
||||
|
||||
import javax.mail.Part;
|
||||
|
||||
import static androidx.room.ForeignKey.CASCADE;
|
||||
|
||||
@Entity(
|
||||
tableName = EntityAttachment.TABLE_NAME,
|
||||
foreignKeys = {
|
||||
@@ -91,7 +91,7 @@ public class EntityAttachment {
|
||||
}
|
||||
|
||||
boolean isImage() {
|
||||
return Helper.isImage(getMimeType());
|
||||
return ImageHelper.isImage(getMimeType());
|
||||
}
|
||||
|
||||
boolean isEncryption() {
|
||||
|
||||
Reference in New Issue
Block a user