fix: Email content disappears after marking as star/unstar when thread is disabled
This commit is contained in:
@@ -202,4 +202,9 @@ extension PresentationEmailExtension on PresentationEmail {
|
||||
|
||||
MailboxId? get firstMailboxIdAvailable =>
|
||||
mailboxIds?.entries.firstWhereOrNull((element) => element.value)?.key;
|
||||
|
||||
void resyncKeywords(Map<KeyWordIdentifier, bool> newKeywords) {
|
||||
keywords?.addAll(newKeywords);
|
||||
keywords?.removeWhere((key, value) => !value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user