From 18e56dcfe7d30f5841ea2fccdbcda85ab4408d2e Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 26 Jan 2023 09:29:58 -0600 Subject: [PATCH] updated var Signed-off-by: Matt Bruce --- VDS/Typography/Typography.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDS/Typography/Typography.swift b/VDS/Typography/Typography.swift index 70f0601b..a680ebc0 100644 --- a/VDS/Typography/Typography.swift +++ b/VDS/Typography/Typography.swift @@ -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