From f4ed4d1f0489625e351766db8cb4b9a41111deaa Mon Sep 17 00:00:00 2001 From: Ross Butler Date: Wed, 15 Feb 2023 17:04:34 +0000 Subject: [PATCH] Fixed issue preventing development colors and fallback colors parsing correctly --- TypographyKit/Classes/ParsingService.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TypographyKit/Classes/ParsingService.swift b/TypographyKit/Classes/ParsingService.swift index 7a88468..cfad451 100644 --- a/TypographyKit/Classes/ParsingService.swift +++ b/TypographyKit/Classes/ParsingService.swift @@ -83,8 +83,8 @@ extension ConfigurationParsingService { type: configurationType ) } - let developmentColor = typographyColors[developmentColorKey ?? ""] - let fallbackColor = typographyColors[fallbackColorKey ?? ""] + let developmentColor = typographyColors[typographyKitDevelopmentColorKey] + let fallbackColor = typographyColors[typographyKitFallbackColorKey] let isDevelopment = typographyKitConfig[CodingKeys.isDevelopment] as? Bool let labelsConfig = typographyKitConfig[CodingKeys.labels] as? [String: String] let labelSettings = self.labelSettings(labelsConfig)