修复编译警告

This commit is contained in:
2026-07-15 23:33:33 +08:00
parent ac2eac5fcd
commit 4340fd3635
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ enum TextFormatter {
return content
}
static func formatForShortcut(_ text: String) -> String {
static nonisolated func formatForShortcut(_ text: String) -> String {
var content = text
content = content.replacingOccurrences(of: " ", with: "")
content = content.replacingOccurrences(of: " ", with: "")