Added filter to do not update UI when unread folder changed.
This commit is contained in:
@@ -394,7 +394,9 @@ namespace Wino.Core.Services
|
|||||||
|
|
||||||
await Connection.DeleteAsync(mailCopy).ConfigureAwait(false);
|
await Connection.DeleteAsync(mailCopy).ConfigureAwait(false);
|
||||||
|
|
||||||
ReportUIChange(new MailRemovedMessage(mailCopy));
|
// Update UI except unread folder to prevent automatic navigation to the next mail.
|
||||||
|
if (mailCopy.AssignedFolder.SpecialFolderType != SpecialFolderType.Unread)
|
||||||
|
ReportUIChange(new MailRemovedMessage(mailCopy));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user