control default

This commit is contained in:
Pfeil, Scott Robert 2020-01-09 14:30:25 -05:00
parent b3b37db848
commit 40def6e19b

View File

@ -51,6 +51,9 @@ import UIKit
public func setWithModel(_ model: MoleculeProtocol?, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [String : AnyHashable]?) {
self.model = model
if let backgroundColor = model?.backgroundColor {
self.backgroundColor = backgroundColor.uiColor
}
}
//--------------------------------------------------