diff --git a/MVMCoreUI/Atoms/Views/DashLine.swift b/MVMCoreUI/Atoms/Views/DashLine.swift index 9f016049..9c0e89f2 100644 --- a/MVMCoreUI/Atoms/Views/DashLine.swift +++ b/MVMCoreUI/Atoms/Views/DashLine.swift @@ -15,7 +15,6 @@ import MVMCore // MARK: - Properties //------------------------------------------------------ - @objc public var bgColor: UIColor? @objc public var dashColor: UIColor? //------------------------------------------------------ @@ -55,7 +54,7 @@ import MVMCore dashLayer.path = path.cgPath dashLayer.strokeColor = dashColor?.cgColor ?? UIColor.mfLighterGray().cgColor dashLayer.fillColor = UIColor.clear.cgColor - dashLayer.backgroundColor = bgColor?.cgColor ?? UIColor.white.cgColor + dashLayer.backgroundColor = backgroundColor?.cgColor ?? UIColor.white.cgColor } //------------------------------------------------------ @@ -76,10 +75,6 @@ import MVMCore isHidden = isHiddenValue } - if let bgColorHex = jsonDictionary["bgColor"] as? String { - bgColor = UIColor.mfGet(forHex: bgColorHex) - } - if let dashColorHex = jsonDictionary["dashColor"] as? String { dashColor = UIColor.mfGet(forHex: dashColorHex) }