mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 17:40:34 +01:00
Changed folder sort / item layout
This commit is contained in:
@@ -69,14 +69,21 @@ public class EntityFolder {
|
||||
TYPE_SENT
|
||||
); // Must match SYSTEM_FOLDER_ATTR
|
||||
|
||||
static final List<String> FOLDER_SORT_ORDER = Arrays.asList(
|
||||
TYPE_INBOX,
|
||||
TYPE_OUTBOX,
|
||||
TYPE_DRAFTS,
|
||||
TYPE_SENT,
|
||||
TYPE_ARCHIVE,
|
||||
TYPE_JUNK,
|
||||
TYPE_TRASH,
|
||||
TYPE_USER
|
||||
);
|
||||
|
||||
static boolean isOutgoing(String type) {
|
||||
return (TYPE_OUTBOX.equals(type) || TYPE_DRAFTS.equals(type) || TYPE_SENT.equals(type));
|
||||
}
|
||||
|
||||
static Boolean isUser(String type) {
|
||||
return TYPE_USER.equals(type);
|
||||
}
|
||||
|
||||
@PrimaryKey(autoGenerate = true)
|
||||
public Long id;
|
||||
public Long account; // Outbox = null
|
||||
|
||||
Reference in New Issue
Block a user