From 5c52693d4d65471ea658434a9fcad1a879f6a26a Mon Sep 17 00:00:00 2001 From: Krishna Kumar Date: Sat, 23 May 2026 00:56:48 -0500 Subject: [PATCH] experiment(PodcastPlayerView): add ShareLink button to full player for sharing episode URL --- Marks/Views/PodcastPlayerView.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Marks/Views/PodcastPlayerView.swift b/Marks/Views/PodcastPlayerView.swift index e66abef..868313f 100644 --- a/Marks/Views/PodcastPlayerView.swift +++ b/Marks/Views/PodcastPlayerView.swift @@ -467,6 +467,14 @@ struct PodcastPlayerView: View { .background(Color(.systemGray5)) .clipShape(Capsule()) } + + if let url = URL(string: articleUrl) { + ShareLink(item: url, subject: Text(vm.currentArticleTitle.isEmpty ? "Marks Podcast" : vm.currentArticleTitle)) { + Label("Share Episode", systemImage: "square.and.arrow.up") + .font(.system(size: 14, weight: .medium)) + .foregroundStyle(.secondary) + } + } } }