|
@ -609,7 +609,11 @@ import RxSwift |
|
|
} else if (!isValid && text != "") { |
|
|
} else if (!isValid && text != "") { |
|
|
lineView.layer.borderColor = UIColor.themeRed.cgColor |
|
|
lineView.layer.borderColor = UIColor.themeRed.cgColor |
|
|
titleLabel.textColor = UIColor.themeRed |
|
|
titleLabel.textColor = UIColor.themeRed |
|
|
} else { |
|
|
|
|
|
|
|
|
} else if !editingOrSelected && text == ""{ |
|
|
|
|
|
titleView.isHidden = true |
|
|
|
|
|
titleView.alpha = 0.0 |
|
|
|
|
|
lineView.layer.borderColor = UIColor.themeText.cgColor |
|
|
|
|
|
}else { |
|
|
lineView.layer.borderColor = UIColor.themeText.cgColor |
|
|
lineView.layer.borderColor = UIColor.themeText.cgColor |
|
|
titleLabel.textColor = UIColor.themeText |
|
|
titleLabel.textColor = UIColor.themeText |
|
|
} |
|
|
} |
|
|