updated var
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
5c8ef10eed
commit
18e56dcfe7
@ -89,7 +89,7 @@ extension TextStyle {
|
||||
let newRaw = rawValue.prefix(1).description.uppercased() + rawValue.dropFirst()
|
||||
styleName = "\(isBold ? "bold" : "")\(newRaw)\(fontSize?.rawValue ?? "")"
|
||||
} else {
|
||||
styleName = "\(newRaw)\(fontSize?.rawValue ?? "")"
|
||||
styleName = "\(rawValue)\(fontSize?.rawValue ?? "")"
|
||||
}
|
||||
guard let style = TextStyle(rawValue: styleName) else {
|
||||
return nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user