修复编译警告
This commit is contained in:
@@ -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: "")
|
||||
|
||||
Reference in New Issue
Block a user