hotfix: Email content broken when restore app from background then swipe to next/previous email on tablet
This commit is contained in:
@@ -25,6 +25,9 @@ extension ListPresentationEmailExtension on List<PresentationEmail> {
|
||||
|
||||
List<EmailId> get listEmailIds => map((email) => email.id).nonNulls.toList();
|
||||
|
||||
List<ThreadId> get uniqueThreadIds =>
|
||||
map((email) => email.threadId).toSet().nonNulls.toList();
|
||||
|
||||
Map<MailboxId, List<EmailId>> get emailIdsByMailboxId {
|
||||
final Map<MailboxId, List<EmailId>> result = {};
|
||||
for (final email in this) {
|
||||
|
||||
Reference in New Issue
Block a user