correction for bold

This commit is contained in:
Kevin G Christiano 2020-06-10 09:22:04 -04:00
parent a5d59db903
commit b73774a7c8

View File

@ -95,9 +95,7 @@ open class Styler {
public func isBold() -> Bool { public func isBold() -> Bool {
switch self { switch self {
case .Title2XLarge, case .RegularTitleLarge,
.TitleXLarge,
.RegularTitleLarge,
.RegularTitleMedium, .RegularTitleMedium,
.RegularBodyLarge, .RegularBodyLarge,
.RegularBodySmall, .RegularBodySmall,
@ -107,7 +105,9 @@ open class Styler {
.B20: .B20:
return false return false
case .BoldTitleLarge, case .Title2XLarge,
.TitleXLarge,
.BoldTitleLarge,
.BoldTitleMedium, .BoldTitleMedium,
.BoldBodyLarge, .BoldBodyLarge,
.BoldBodySmall, .BoldBodySmall,