From e53c562038577d45613b2abbf3c242313e0af0b5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 7 Jul 2026 12:44:38 +0000 Subject: [PATCH] Remove unused ext variable in ShareViewController handleVideos saveVideoWithInfo already computes the file extension itself, so the duplicate assignment in handleVideos was dead code. --- modules/Share-with-Bluesky/ShareViewController.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/Share-with-Bluesky/ShareViewController.swift b/modules/Share-with-Bluesky/ShareViewController.swift index cd15fd1909..4eeab8876b 100644 --- a/modules/Share-with-Bluesky/ShareViewController.swift +++ b/modules/Share-with-Bluesky/ShareViewController.swift @@ -121,7 +121,6 @@ class ShareViewController: UIViewController { let firstItem = items.first if let dataUrl = try? await firstItem?.loadItem(forTypeIdentifier: "public.movie") as? URL { - let ext = String(dataUrl.lastPathComponent.split(separator: ".").last ?? "mp4") if let videoUriInfo = saveVideoWithInfo(dataUrl), let url = URL(string: "\(self.appScheme)://intent/compose?videoUri=\(videoUriInfo)") { _ = self.openURL(url)