From 28c8c5216656f0041903edc1c51f8cd38dc640ca Mon Sep 17 00:00:00 2001 From: Lekshmi S Date: Thu, 25 Jun 2020 19:04:23 +0530 Subject: [PATCH] Added top and bottom padding for H2 header molecule. --- .../Headers/H2/HeadersH2PricingTwoRowsModel.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MVMCoreUI/Atomic/Molecules/DesignedComponents/Headers/H2/HeadersH2PricingTwoRowsModel.swift b/MVMCoreUI/Atomic/Molecules/DesignedComponents/Headers/H2/HeadersH2PricingTwoRowsModel.swift index 219f539f..ff0955e7 100644 --- a/MVMCoreUI/Atomic/Molecules/DesignedComponents/Headers/H2/HeadersH2PricingTwoRowsModel.swift +++ b/MVMCoreUI/Atomic/Molecules/DesignedComponents/Headers/H2/HeadersH2PricingTwoRowsModel.swift @@ -40,6 +40,8 @@ public class HeadersH2PricingTwoRowsModel: HeaderModel, MoleculeModelProtocol { //-------------------------------------------------- public override func setDefaults() { super.setDefaults() + topPadding = PaddingDefaultVerticalSpacing3 + bottomPadding = PaddingDefaultVerticalSpacing3 subBody?.attributes = [LabelAttributeStrikeThroughModel(0, subBody?.text.count ?? 0)] subBody2?.attributes = [LabelAttributeStrikeThroughModel(0, subBody2?.text.count ?? 0)] subBody3?.attributes = [LabelAttributeStrikeThroughModel(0, subBody3?.text.count ?? 0)]