diff options
Diffstat (limited to 'Hutch/Extensions')
| -rw-r--r-- | Hutch/Extensions/SRHTShareUI.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Hutch/Extensions/SRHTShareUI.swift b/Hutch/Extensions/SRHTShareUI.swift index d09476f..37a9334 100644 --- a/Hutch/Extensions/SRHTShareUI.swift +++ b/Hutch/Extensions/SRHTShareUI.swift @@ -52,11 +52,11 @@ struct SRHTShareButton<Label: View>: View { private struct ShareSheet: UIViewControllerRepresentable { let activityItems: [Any] - func makeUIViewController(context: Context) -> UIActivityViewController { + func makeUIViewController(context _: Context) -> UIActivityViewController { UIActivityViewController(activityItems: activityItems, applicationActivities: nil) } - func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) { + func updateUIViewController(_ : UIActivityViewController, context _: Context) { // UIActivityViewController is fully configured in makeUIViewController. // No state-driven updates are required. } |
