diff --git a/MVMCoreUI/Atomic/Templates/MoleculeStackTemplate.swift b/MVMCoreUI/Atomic/Templates/MoleculeStackTemplate.swift index 2bb5ec31..3d47ae3f 100644 --- a/MVMCoreUI/Atomic/Templates/MoleculeStackTemplate.swift +++ b/MVMCoreUI/Atomic/Templates/MoleculeStackTemplate.swift @@ -57,7 +57,7 @@ open class MoleculeStackTemplate: ThreeLayerViewController, TemplateProtocol { moleculeStackModel.useStackSpacingBeforeFirstItem = true for stackItem in moleculeStackModel.molecules { guard let stackItem = stackItem as? MoleculeStackItemModel, - stackItem.horizontalAlignment == nil else { continue } + stackItem.useHorizontalMargins == nil else { continue } stackItem.useHorizontalMargins = true } stack.set(with: moleculeStackModel, delegateObject() as? MVMCoreUIDelegateObject, nil)