Remove unused ext variable in ShareViewController handleVideos

saveVideoWithInfo already computes the file extension itself, so the
duplicate assignment in handleVideos was dead code.
This commit is contained in:
Claude
2026-07-07 12:44:38 +00:00
parent bbdfe05ada
commit e53c562038
@@ -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)