TF-1923 Fix new email offline mode not working

(cherry picked from commit c1c48e93d50cb0ebbccaf11c3f4a975af640b63a)
This commit is contained in:
dab246
2023-06-20 22:20:23 +07:00
committed by Dat H. Pham
parent b1a0cab02b
commit 6d96a1109e
35 changed files with 333 additions and 261 deletions
@@ -26,12 +26,16 @@ class DetailedEmailHiveCache extends HiveObject with EquatableMixin {
@HiveField(4)
final List<EmailHeaderHiveCache>? headers;
@HiveField(5)
final Map<String, bool>? keywords;
DetailedEmailHiveCache({
required this.emailId,
required this.timeSaved,
this.attachments,
this.emailContentPath,
this.headers
this.headers,
this.keywords,
});
@override
@@ -40,6 +44,7 @@ class DetailedEmailHiveCache extends HiveObject with EquatableMixin {
timeSaved,
attachments,
emailContentPath,
headers
headers,
keywords,
];
}