Fix for To/Cc/Bcc alignment and crush when opening eml (#449)
* Add margin to To/Cc/Bcc * Fix crash when opening eml * Remove useless top
This commit is contained in:
@@ -467,7 +467,7 @@ namespace Wino.Mail.ViewModels
|
||||
?? new AccountContact() { Name = mailboxAddress.Name, Address = mailboxAddress.Address };
|
||||
|
||||
// Make sure that user account first in the list.
|
||||
if (foundContact.Address == initializedMailItemViewModel.AssignedAccount.Address)
|
||||
if (foundContact.Address == initializedMailItemViewModel?.AssignedAccount?.Address)
|
||||
{
|
||||
accounts.Insert(0, foundContact);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user