From fb2cade1574d8935a810ff78a060c8695314c038 Mon Sep 17 00:00:00 2001 From: "Robinson, Blake" Date: Thu, 12 Dec 2019 09:30:00 -0500 Subject: [PATCH] Fixed spacing before colon as per code review comment --- MVMCoreUI/Atoms/Buttons/Link.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } }