From 5172c86dd2f5baf1ab2393866d2a1b6206d46568 Mon Sep 17 00:00:00 2001 From: miang Date: Thu, 26 Oct 2017 22:34:19 +0700 Subject: [PATCH] Fix disabled color is not updated during disabled --- Sources/SkyFloatingLabelTextField.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/SkyFloatingLabelTextField.swift b/Sources/SkyFloatingLabelTextField.swift index 5900c98..30bfd84 100644 --- a/Sources/SkyFloatingLabelTextField.swift +++ b/Sources/SkyFloatingLabelTextField.swift @@ -124,7 +124,8 @@ open class SkyFloatingLabelTextField: UITextField { // swiftlint:disable:this ty /// A UIColor value that determines the color used for the title label and line when text field is disabled @IBInspectable dynamic open var disabledColor: UIColor = UIColor(white: 0.88, alpha: 1.0) { didSet { - updateColors() + updateControl() + updatePlaceholder() } }