From 1bcf50fae5452d6b5e9a84ab0eb9a68dd3097cfb Mon Sep 17 00:00:00 2001 From: Philipp Zagar Date: Sat, 21 Dec 2024 21:44:04 +0100 Subject: [PATCH] Add docs --- Sources/SpeziChat/ChatView+ShareSheet.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SpeziChat/ChatView+ShareSheet.swift b/Sources/SpeziChat/ChatView+ShareSheet.swift index b869ddd..5e4715e 100644 --- a/Sources/SpeziChat/ChatView+ShareSheet.swift +++ b/Sources/SpeziChat/ChatView+ShareSheet.swift @@ -41,7 +41,7 @@ extension ChatView { func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {} } #else - @MainActor + @MainActor // On non-macOS SDKs, `UIViewControllerRepresentable` enforces the `MainActor` isolation struct ShareSheet { let sharedItem: Data let sharedItemType: ChatExportFormat