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 }