diff --git a/MVMCoreUI/Atoms/Buttons/Link.swift b/MVMCoreUI/Atoms/Buttons/Link.swift index b38c5f04..d3e153f8 100644 --- a/MVMCoreUI/Atoms/Buttons/Link.swift +++ b/MVMCoreUI/Atoms/Buttons/Link.swift @@ -96,12 +96,10 @@ extension Link: MVMCoreViewProtocol { self.contentHorizontalAlignment = .left if let constant = self.sizeObject?.standardSize { - let heightConstraint = NSLayoutConstraint(item: self as Any, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: constant) self.addConstraint(heightConstraint) heightConstraint.isActive = true self.heightConstraint = heightConstraint - } } }