correction for bold
This commit is contained in:
parent
a5d59db903
commit
b73774a7c8
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user