From 1f94b9884cb0b0a366d9c0bfc161fcf0710ae35f Mon Sep 17 00:00:00 2001 From: fish Date: Wed, 15 Jul 2026 23:15:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=AB=E6=8D=B7=E6=8C=87=E4=BB=A4=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=96=87=E6=A1=88=E5=89=8D=E4=BD=BF=E7=94=A8=20iCloud?= =?UTF-8?q?=20=E6=A0=BC=E5=BC=8F=E5=8C=96=E9=A2=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Note/SaveClipIntent.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Note/SaveClipIntent.swift b/Note/SaveClipIntent.swift index 3d12966..9d29e43 100644 --- a/Note/SaveClipIntent.swift +++ b/Note/SaveClipIntent.swift @@ -35,7 +35,8 @@ struct SaveClipIntent: AppIntent { return .result(value: "剪贴板没有有效文本,未保存。") } - try await ClipStore.shared.save(text: trimmed, source: source) + let formattedText = TextFormatter.formatForCloud(trimmed) + try await ClipStore.shared.save(text: formattedText, source: source) return .result(value: "已保存到收集箱。") }