Added flyout on click for recipients (#436)
User accoutn will be first in recipents list Recipient shows eather name or address to save space Added tooltip which shows both ( Name and Address) Added ";" to have visual separation between names, since we don't have address all the time. To/Cc/Bcc now at the top of their container, previously they were center and it was hard to understand is it To/CC/Bcc recipient when there many of them
This commit is contained in:
@@ -466,7 +466,15 @@ namespace Wino.Mail.ViewModels
|
||||
var foundContact = await _contactService.GetAddressInformationByAddressAsync(mailboxAddress.Address).ConfigureAwait(false)
|
||||
?? new AccountContact() { Name = mailboxAddress.Name, Address = mailboxAddress.Address };
|
||||
|
||||
accounts.Add(foundContact);
|
||||
// Make sure that user account first in the list.
|
||||
if (foundContact.Address == initializedMailItemViewModel.AssignedAccount.Address)
|
||||
{
|
||||
accounts.Insert(0, foundContact);
|
||||
}
|
||||
else
|
||||
{
|
||||
accounts.Add(foundContact);
|
||||
}
|
||||
}
|
||||
else if (item is GroupAddress groupAddress)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user