Commit 7eea794f by M. Porooshani

Fixes font issue for TextField

parent d3650f18
...@@ -147,11 +147,8 @@ public class TextField : UITextField { ...@@ -147,11 +147,8 @@ public class TextField : UITextField {
/// The placeholderLabel font value. /// The placeholderLabel font value.
@IBInspectable public override var font: UIFont? { @IBInspectable public override var font: UIFont? {
get { didSet {
return placeholderLabel.font placeholderLabel.font = self.font
}
set(value) {
placeholderLabel.font = value
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment