Calendar metadata fetch after creating account.

This commit is contained in:
Burak Kaan Köse
2026-02-15 19:57:48 +01:00
parent d428a6ce7a
commit dae7d046c4
8 changed files with 61 additions and 2 deletions
@@ -1095,6 +1095,17 @@ public partial class MailAppShellViewModel : MailBaseViewModel,
Messenger.Send(new NewMailSynchronizationRequested(options));
if (createdAccount.IsCalendarAccessGranted)
{
var calendarOptions = new CalendarSynchronizationOptions()
{
AccountId = createdAccount.Id,
Type = CalendarSynchronizationType.CalendarEvents
};
Messenger.Send(new NewCalendarSynchronizationRequested(calendarOptions));
}
try
{
await _nativeAppService.PinAppToTaskbarAsync();