TF-3881 Thread Detail Bottom sheet close when action
TF-3881 Thread Detail Unsubscribe context menu TF-3881 Thread Detail Update date time format TF-3881 Thread Detail Update sender receiver spacing TF-3881 Thread Detail Add messageId and references to presentation email TF-3881 Thread Detail Filter created email on refresh TF-3881 Thread Detail Fix CI TF-3881 Thread Detail Fix previous action throws out of index TF-3881 Thread Detail Update sender receiver spacing TF-3881 Thread Detail Adjust email actions when expanded TF-3881 Thread Detail Adjust days ago received time TF-3881 Thread Detail Fix debouncer when update setting TF-3881 Thread Detail Adjust days ago received time TF-3881 Thread Detail Adjust email actions when expanded TF-3881 Thread Detail Hide next previous if not in range TF-3881 Thread Detail Arrange more action according to text direction TF-3881 Thread Detail Hide next previous if not in range TF-3881 Thread Detail Fix move email on tablet
This commit is contained in:
@@ -52,6 +52,13 @@ extension EmailCacheExtension on EmailCache {
|
||||
priorityHeader!.keys.map((value) => IndividualHeaderIdentifier(value)),
|
||||
priorityHeader!.values)
|
||||
: null,
|
||||
listUnsubscribeHeader: unsubscribeHeader != null
|
||||
? Map.fromIterables(
|
||||
unsubscribeHeader!.keys.map((value) => IndividualHeaderIdentifier(value)),
|
||||
unsubscribeHeader!.values)
|
||||
: null,
|
||||
messageId: messageId != null ? MessageIdsHeaderValue(messageId!.toSet()) : null,
|
||||
references: references != null ? MessageIdsHeaderValue(references!.toSet()) : null,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,9 @@ extension EmailExtension on Email {
|
||||
xPriorityHeader: xPriorityHeader?.toMapString(),
|
||||
importanceHeader: importanceHeader?.toMapString(),
|
||||
priorityHeader: priorityHeader?.toMapString(),
|
||||
unsubscribeHeader: listUnsubscribeHeader?.toMapString(),
|
||||
messageId: messageId?.ids.toList(),
|
||||
references: references?.ids.toList(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,15 @@ class EmailCache extends HiveObject with EquatableMixin {
|
||||
@HiveField(19)
|
||||
String? threadId;
|
||||
|
||||
@HiveField(20)
|
||||
Map<String, String?>? unsubscribeHeader;
|
||||
|
||||
@HiveField(21)
|
||||
final List<String>? messageId;
|
||||
|
||||
@HiveField(22)
|
||||
final List<String>? references;
|
||||
|
||||
EmailCache(
|
||||
this.id,
|
||||
{
|
||||
@@ -91,6 +100,9 @@ class EmailCache extends HiveObject with EquatableMixin {
|
||||
this.importanceHeader,
|
||||
this.priorityHeader,
|
||||
this.threadId,
|
||||
this.unsubscribeHeader,
|
||||
this.messageId,
|
||||
this.references,
|
||||
}
|
||||
);
|
||||
|
||||
@@ -116,5 +128,8 @@ class EmailCache extends HiveObject with EquatableMixin {
|
||||
importanceHeader,
|
||||
priorityHeader,
|
||||
threadId,
|
||||
unsubscribeHeader,
|
||||
messageId,
|
||||
references,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user