update font for primary button
This commit is contained in:
parent
a4f5e2d8d5
commit
8ef38be8dd
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user