Fixed spacing before colon as per code review comment

This commit is contained in:
Robinson, Blake 2019-12-12 09:30:00 -05:00
parent 16cc667b02
commit fb2cade157

View File

@ -27,7 +27,7 @@ import UIKit
self.setupView() self.setupView()
} }
public convenience init(width:CGFloat) { public convenience init(width: CGFloat) {
self.init() self.init()
self.setupView() self.setupView()
self.updateView(width) self.updateView(width)
@ -112,7 +112,7 @@ extension Link: MVMCoreUIMoleculeViewProtocol {
self.setTitleColor(UIColor.mfTextButton(), for: .normal) 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 { if let unwrappedJson = json {
actionMap = unwrappedJson actionMap = unwrappedJson
self.additionalData = additionalData 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 return 31
} }
} }