Remove redundant message
This commit is contained in:
@@ -41,8 +41,7 @@ namespace Wino.Mail.ViewModels
|
|||||||
IRecipient<MailItemSelectionRemovedEvent>,
|
IRecipient<MailItemSelectionRemovedEvent>,
|
||||||
IRecipient<AccountSynchronizationCompleted>,
|
IRecipient<AccountSynchronizationCompleted>,
|
||||||
IRecipient<NewSynchronizationRequested>,
|
IRecipient<NewSynchronizationRequested>,
|
||||||
IRecipient<AccountSynchronizerStateChanged>,
|
IRecipient<AccountSynchronizerStateChanged>
|
||||||
IRecipient<SelectedMailItemsChanged>
|
|
||||||
{
|
{
|
||||||
private bool isChangingFolder = false;
|
private bool isChangingFolder = false;
|
||||||
|
|
||||||
@@ -375,8 +374,6 @@ namespace Wino.Mail.ViewModels
|
|||||||
NotifyItemSelected();
|
NotifyItemSelected();
|
||||||
|
|
||||||
SetupTopBarActions();
|
SetupTopBarActions();
|
||||||
|
|
||||||
Messenger.Send(new SelectedMailItemsChanged(SelectedItems.Count));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateFolderPivots()
|
private void UpdateFolderPivots()
|
||||||
@@ -1037,7 +1034,5 @@ namespace Wino.Mail.ViewModels
|
|||||||
|
|
||||||
await ExecuteUIThread(() => { IsAccountSynchronizerInSynchronization = isAnyAccountSynchronizing; });
|
await ExecuteUIThread(() => { IsAccountSynchronizerInSynchronization = isAnyAccountSynchronizing; });
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Receive(SelectedMailItemsChanged message) => NotifyItemSelected();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
namespace Wino.Messaging.Client.Mails
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// When selected mail count is changed.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="SelectedItemCount">New selected mail count.</param>
|
|
||||||
public record SelectedMailItemsChanged(int SelectedItemCount);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user