From a0fd19ea7aace29cfb74e5441efe028b994f2854 Mon Sep 17 00:00:00 2001 From: Sumanth Nadigadda Date: Wed, 11 May 2022 21:11:34 +0530 Subject: [PATCH] Removing font scaling for Pillbutton --- MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift b/MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift index 6b47f112..e578fa51 100644 --- a/MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift +++ b/MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift @@ -185,11 +185,11 @@ open class PillButton: Button, MVMCoreUIViewConstrainingProtocol { switch buttonSize { case .tiny: - titleLabel?.font = Styler.Font.BoldMicro.getFont() + titleLabel?.font = Styler.Font.BoldMicro.getFont(false) case .small: - titleLabel?.font = Styler.Font.BoldBodySmall.getFont() + titleLabel?.font = Styler.Font.BoldBodySmall.getFont(false) case .standard: - titleLabel?.font = Styler.Font.BoldBodyLarge.getFont() + titleLabel?.font = Styler.Font.BoldBodyLarge.getFont(false) } layer.cornerRadius = getInnerPadding()