diff --git a/MVMCoreUI/Atoms/Buttons/Link.swift b/MVMCoreUI/Atoms/Buttons/Link.swift index 2880fcd3..f7dd492e 100644 --- a/MVMCoreUI/Atoms/Buttons/Link.swift +++ b/MVMCoreUI/Atoms/Buttons/Link.swift @@ -27,7 +27,7 @@ import UIKit self.setupView() } - public convenience init(width:CGFloat) { + public convenience init(width: CGFloat) { self.init() self.setupView() self.updateView(width) @@ -112,7 +112,7 @@ extension Link: MVMCoreUIMoleculeViewProtocol { self.setTitleColor(UIColor.mfTextButton(), for: .normal) } - public func setWithJSON(_ json: [AnyHashable : Any]?, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable : Any]?) { + public func setWithJSON(_ json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) { if let unwrappedJson = json { actionMap = unwrappedJson self.additionalData = additionalData @@ -140,7 +140,7 @@ extension Link: MVMCoreUIMoleculeViewProtocol { } } - public static func estimatedHeight(forRow json: [AnyHashable : Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat { + public static func estimatedHeight(forRow json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat { return 31 } }