diff --git a/VDS/Components/TileContainer/TileContainer.swift b/VDS/Components/TileContainer/TileContainer.swift index d9e9a02f..08b87a7f 100644 --- a/VDS/Components/TileContainer/TileContainer.swift +++ b/VDS/Components/TileContainer/TileContainer.swift @@ -69,7 +69,7 @@ open class TileContainerBase: Control where Padding case secondary case white case black - case custom(String) + case custom(UIColor) private var reflectedValue: String { String(reflecting: self) } @@ -475,8 +475,8 @@ extension TileContainerBase { return whiteColorConfig.getColor(object.surface) case .black: return blackColorConfig.getColor(object.surface) - case .custom(let hexCode): - return UIColor(hexString: hexCode) + case .custom(let color): + return color } } }