From bd69d9fb891b2e209bd7fd48ab82d8343b58a94d Mon Sep 17 00:00:00 2001 From: "Christiano, Kevin" Date: Mon, 1 Apr 2019 14:10:47 -0400 Subject: [PATCH] mild changes. --- MVMCoreUI/Atoms/Views/LabelWithInternalButton.swift | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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..