hotfix: Email content broken when restore app from background then swipe to next/previous email on tablet

This commit is contained in:
dab246
2025-09-25 15:29:47 +07:00
committed by Dat H. Pham
parent 24095dc147
commit 9d79748362
12 changed files with 266 additions and 232 deletions
@@ -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) {