diff --git a/MVMCoreUI/Atoms/Views/LabelWithInternalButton.swift b/MVMCoreUI/Atoms/Views/LabelWithInternalButton.swift index ddbff108..1d8ec52a 100644 --- a/MVMCoreUI/Atoms/Views/LabelWithInternalButton.swift +++ b/MVMCoreUI/Atoms/Views/LabelWithInternalButton.swift @@ -368,7 +368,7 @@ public typealias CoreObjectActionLoadPresentDelegate = MVMCoreActionDelegateProt var rangeArray = [AnyHashable]() for subString in words ?? [] { - let finalSubString = subString + (" ") + let finalSubString = subString + " " let wordIndex: Int = index let length: Int = finalSubString.count let subStringRange = NSRange(location: wordIndex, length: length) @@ -407,7 +407,7 @@ public typealias CoreObjectActionLoadPresentDelegate = MVMCoreActionDelegateProt frontText = actionRange.revisedText if let revisedText = actionRange.revisedText, let startBraceIndex = actionRange.startIndex, let endBraceIndex = actionRange.endIndex { - // TODO: Put some of this into a String Extension in MVMCore + frontText = String(revisedText[revisedText.startIndex..