small change

This commit is contained in:
Kevin G Christiano 2020-04-01 17:12:26 -04:00
parent 1758192edf
commit c26eea8cdd

View File

@ -81,7 +81,7 @@ open class Styler {
public func getFont(_ genericScaling: Bool = true) -> UIFont? {
let size = genericScaling ? sizeFontGeneric(forCurrentDevice: pointSize()) : pointSize()
return getMVA3FontSize(size, bold: isBold())
return getMVA3FontSize(size, isBold: isBold())
}
public func styleLabel(_ label: UILabel, genericScaling: Bool = true) {
@ -130,7 +130,7 @@ open class Styler {
}
}
open class func getMVA3FontSize(_ size: CGFloat, bold isBold: Bool) -> UIFont {
open class func getMVA3FontSize(_ size: CGFloat, isBold: Bool) -> UIFont {
if isBold {
return size >= 15 ? MFFonts.mfFontDSBold(size) : MFFonts.mfFontTXBold(size)