Fixed 'Delete' action not deleting the item after it's been marked as read.

This commit is contained in:
Burak Kaan Köse
2024-04-28 20:38:22 +02:00
parent babed18af0
commit ae474b5e5b

View File

@@ -606,6 +606,11 @@ namespace Wino.Mail.ViewModels
await ExecuteUIThread(() => { NotifyItemFoundState(); });
}
else if (isDeletedByGmailUnreadFolderAction)
{
// Remove the entry from the set so we can listen to actual deletes next time.
gmailUnreadFolderMarkedAsReadUniqueIds.Remove(removedMail.UniqueId);
}
}
protected override async void OnDraftCreated(MailCopy draftMail, MailAccount account)
{