temporary change to match

This commit is contained in:
Pfeil, Scott Robert 2020-01-14 20:35:53 -05:00
parent a737b3b94c
commit 8936f510b2

View File

@ -37,6 +37,11 @@ open class MoleculeListTemplate: ThreeLayerTableViewController, TemplateProtocol
let molecule = MVMCoreUIMoleculeMappingObject.shared()?.createMolecule(headerModel, delegateObject() as? MVMCoreUIDelegateObject, false) else {
return super.viewForTop()
}
// Temporary, Default the horizontal padding
if var container = templateModel?.header as? ContainerModelProtocol, container.useHorizontalMargins == nil {
container.useHorizontalMargins = true
}
return molecule
}