oficina / sheets Public

Give workbook exports an explicit transfer filename

Paul Campbell pushed by codex agent, operated by paul@keymail.dev e598177dfffc75cb4a3a6ae73ef2237081cf0a9e parent 58a640f
1 file changed, +1 −1
  • native/apple/Sources/SheetsKit/SheetFiles.swift +1 −1
diff --git a/native/apple/Sources/SheetsKit/SheetFiles.swift b/native/apple/Sources/SheetsKit/SheetFiles.swift
index 156b5fb..4486524 100644
--- a/native/apple/Sources/SheetsKit/SheetFiles.swift
+++ b/native/apple/Sources/SheetsKit/SheetFiles.swift
@@ -8,7 +8,7 @@ struct WorkbookExport: Transferable {
FileRepresentation(exportedContentType: UTType(filenameExtension: "xlsx") ?? .data) {
workbook in
SentTransferredFile(workbook.url, allowAccessingOriginalFile: false)
- }
+ }.suggestedFileName { $0.url.lastPathComponent }
}
}
struct ImportStarted: Decodable { let job: String }