More abstraction for mail/calendar.

This commit is contained in:
Burak Kaan Köse
2024-12-24 18:30:25 +01:00
parent da2a58a88b
commit 1668dfcce6
28 changed files with 209 additions and 121 deletions

View File

@@ -143,10 +143,10 @@ namespace Wino.Core.Services
{
await EnsureServerConnectedAsync();
var options = new SynchronizationOptions()
var options = new MailSynchronizationOptions()
{
AccountId = accountId,
Type = SynchronizationType.ExecuteRequests
Type = MailSynchronizationType.ExecuteRequests
};
WeakReferenceMessenger.Default.Send(new NewSynchronizationRequested(options, SynchronizationSource.Client));