composition.
This commit is contained in:
parent
905a2b948e
commit
ae92c9bbf8
@ -45,7 +45,7 @@ public typealias ActionBlock = () -> ()
|
|||||||
didSet {
|
didSet {
|
||||||
isUserInteractionEnabled = !clauses.isEmpty
|
isUserInteractionEnabled = !clauses.isEmpty
|
||||||
if clauses.count > 1 {
|
if clauses.count > 1 {
|
||||||
clauses.sort{ first, second in
|
clauses.sort { first, second in
|
||||||
guard let firstLocation = first.range?.location,
|
guard let firstLocation = first.range?.location,
|
||||||
let secondLocation = second.range?.location
|
let secondLocation = second.range?.location
|
||||||
else { return false }
|
else { return false }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user