Calendar attachments.

This commit is contained in:
Burak Kaan Köse
2026-01-03 23:59:37 +01:00
parent c8ef031e7d
commit 4603b1fb14
20 changed files with 758 additions and 21 deletions
@@ -103,4 +103,14 @@ public class NativeAppService : INativeAppService
//await taskbarManager.RequestPinCurrentAppAsync();
}
public bool IsAppRunningInBackground()
=> !Microsoft.UI.Dispatching.DispatcherQueue.GetForCurrentThread().HasThreadAccess;
public string GetCalendarAttachmentsFolderPath()
{
var attachmentsFolder = System.IO.Path.Combine(ApplicationData.Current.LocalFolder.Path, "CalendarAttachments");
System.IO.Directory.CreateDirectory(attachmentsFolder);
return attachmentsFolder;
}
}