Replace old markdown and remove redundant events (#389)
* Remove redundant messages * Replaced old markdown with preview. Added nuget config to add preview feed * Fix old extensions usage * Scrollbar margin for the markdown. --------- Co-authored-by: Burak Kaan Köse <bkaankose@outlook.com>
This commit is contained in:
@@ -28,7 +28,6 @@ using Wino.Mail.ViewModels.Collections;
|
||||
using Wino.Mail.ViewModels.Data;
|
||||
using Wino.Mail.ViewModels.Messages;
|
||||
using Wino.Messaging.Client.Mails;
|
||||
using Wino.Messaging.Client.Shell;
|
||||
using Wino.Messaging.Server;
|
||||
using Wino.Messaging.UI;
|
||||
|
||||
@@ -283,8 +282,6 @@ namespace Wino.Mail.ViewModels
|
||||
|
||||
if (isMultiSelecting && StatePersistenceService.IsReaderNarrowed)
|
||||
{
|
||||
// Don't change the active mail item if the reader is narrowed, but just update the shell.
|
||||
Messenger.Send(new ShellStateUpdated());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -425,7 +425,7 @@ namespace Wino.Mail.ViewModels
|
||||
FromAddress = message.From.Mailboxes.FirstOrDefault()?.Address ?? Translator.UnknownAddress;
|
||||
FromName = message.From.Mailboxes.FirstOrDefault()?.Name ?? Translator.UnknownSender;
|
||||
CreationDate = message.Date.DateTime;
|
||||
ContactPicture = initializedMailItemViewModel.SenderContact?.Base64ContactPicture;
|
||||
ContactPicture = initializedMailItemViewModel?.SenderContact?.Base64ContactPicture;
|
||||
|
||||
// Automatically disable images for Junk folder to prevent pixel tracking.
|
||||
// This can only work for selected mail item rendering, not for EML file rendering.
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
using Wino.Mail.ViewModels.Data;
|
||||
|
||||
namespace Wino.Mail.ViewModels.Messages
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// When a thread conversation listview has single selection, all other listviews
|
||||
/// must unselect all their items.
|
||||
/// </summary>
|
||||
public class ResetSingleMailItemSelectionEvent
|
||||
{
|
||||
public ResetSingleMailItemSelectionEvent(MailItemViewModel selectedViewModel)
|
||||
{
|
||||
SelectedViewModel = selectedViewModel;
|
||||
}
|
||||
|
||||
public MailItemViewModel SelectedViewModel { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user