Added hashset uniqueid mail check to prevent gmail unread folder items to be removed on next item selection.

This commit is contained in:
Burak Kaan Köse
2024-04-28 20:20:29 +02:00
parent 0322bcd047
commit babed18af0
2 changed files with 25 additions and 11 deletions

View File

@@ -394,9 +394,7 @@ namespace Wino.Core.Services
await Connection.DeleteAsync(mailCopy).ConfigureAwait(false);
// Update UI except unread folder to prevent automatic navigation to the next mail.
if (mailCopy.AssignedFolder.SpecialFolderType != SpecialFolderType.Unread)
ReportUIChange(new MailRemovedMessage(mailCopy));
ReportUIChange(new MailRemovedMessage(mailCopy));
}
#endregion