From 8ef38be8dd59e6a50334bdd7d4d59631dd7a1b23 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Thu, 13 Aug 2020 16:21:28 -0400 Subject: [PATCH] update font for primary button --- MVMCoreUI/Styles/MFStyler.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MVMCoreUI/Styles/MFStyler.m b/MVMCoreUI/Styles/MFStyler.m index 213c205e..130b4c7a 100644 --- a/MVMCoreUI/Styles/MFStyler.m +++ b/MVMCoreUI/Styles/MFStyler.m @@ -468,17 +468,17 @@ CGFloat const LabelWithInternalButtonLineSpace = 2; } + (nullable UIFont *)fontForPrimaryButton:(BOOL)genericScaling { - CGFloat size = 14; + CGFloat size = 13; if (genericScaling) { size = [self sizeFontGenericForCurrentDevice:size]; } - return [MFFonts mfFont75Bd:size]; + return [MFFonts mfFontTXBold:size]; } + (nullable UIFont *)fontForPrimaryButtonForWidth:(CGFloat)size { - CGFloat pointSize = 14; + CGFloat pointSize = 13; pointSize = [[MFStyler sizeObjectGenericForCurrentDevice:pointSize] getValueBasedOnSize:size]; - return [MFFonts mfFont75Bd:pointSize]; + return [MFFonts mfFontTXBold:pointSize]; } + (nullable UIFont *)fontForSmallButton:(BOOL)genericScaling { @@ -486,13 +486,13 @@ CGFloat const LabelWithInternalButtonLineSpace = 2; if (genericScaling) { size = [self sizeFontGenericForCurrentDevice:size]; } - return [MFFonts mfFont75Bd:size]; + return [MFFonts mfFontTXBold:size]; } + (nullable UIFont *)fontForSmallButtonForWidth:(CGFloat)size { CGFloat pointSize = 11; pointSize = [[MFStyler sizeObjectGenericForCurrentDevice:pointSize] getValueBasedOnSize:size]; - return [MFFonts mfFont75Bd:pointSize]; + return [MFFonts mfFontTXBold:pointSize]; } + (nullable UIFont *)fontForTextField:(BOOL)genericScaling {