From ae92c9bbf8826821f20989aa64ede66d4f8e0e86 Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Mon, 29 Jul 2019 09:41:42 -0400 Subject: [PATCH] composition. --- MVMCoreUI/Atoms/Views/Label.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Atoms/Views/Label.swift b/MVMCoreUI/Atoms/Views/Label.swift index 4d3a0687..e3618831 100644 --- a/MVMCoreUI/Atoms/Views/Label.swift +++ b/MVMCoreUI/Atoms/Views/Label.swift @@ -45,7 +45,7 @@ public typealias ActionBlock = () -> () didSet { isUserInteractionEnabled = !clauses.isEmpty if clauses.count > 1 { - clauses.sort{ first, second in + clauses.sort { first, second in guard let firstLocation = first.range?.location, let secondLocation = second.range?.location else { return false }