update font for primary button

This commit is contained in:
Pfeil, Scott Robert 2020-08-13 16:21:28 -04:00
parent a4f5e2d8d5
commit 8ef38be8dd

View File

@ -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 {