diff --git a/Snappy/Constraint.swift b/Snappy/Constraint.swift index d54dc42..9361e71 100644 --- a/Snappy/Constraint.swift +++ b/Snappy/Constraint.swift @@ -287,7 +287,7 @@ class Constraint { // MARK: insets func insets(amount: UIEdgeInsets) -> Constraint { - self.insets = amount + self.offset = amount return self }