Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philippzagar committed Dec 21, 2024
1 parent cb128ed commit 1bcf50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SpeziChat/ChatView+ShareSheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1bcf50f

Please sign in to comment.