Skip to content

Commit

Permalink
Fixed issue preventing development colors and fallback colors parsing…
Browse files Browse the repository at this point in the history
… correctly
  • Loading branch information
rwbutler committed Feb 15, 2023
1 parent ee05b01 commit f4ed4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TypographyKit/Classes/ParsingService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f4ed4d1

Please sign in to comment.