Added deleting attachments

This commit is contained in:
M66B
2023-06-26 11:35:26 +02:00
parent ba9c9f2165
commit b458d5f4e3
10 changed files with 397 additions and 20 deletions

View File

@@ -31,6 +31,7 @@ import androidx.core.content.FileProvider;
import androidx.preference.PreferenceManager;
import androidx.room.Entity;
import androidx.room.ForeignKey;
import androidx.room.Ignore;
import androidx.room.Index;
import androidx.room.PrimaryKey;
@@ -98,6 +99,9 @@ public class EntityAttachment {
public String media_uri;
public String error;
@Ignore
public boolean selected = true;
// Gmail sends inline images as attachments with a name and cid
boolean isInline() {