Remove the color parameter on iOS too
This commit is contained in:
parent
688b24f18e
commit
5ac69a411e
|
@ -174,8 +174,8 @@ private extension MasterTimelineTableViewCell {
|
||||||
func updateTextFieldAttributedText(_ label: UILabel, _ text: NSAttributedString?) {
|
func updateTextFieldAttributedText(_ label: UILabel, _ text: NSAttributedString?) {
|
||||||
var s = text ?? NSAttributedString(string: "")
|
var s = text ?? NSAttributedString(string: "")
|
||||||
|
|
||||||
if let fieldFont = label.font, let color = label.textColor {
|
if let fieldFont = label.font {
|
||||||
s = s.adding(font: fieldFont, color: color)
|
s = s.adding(font: fieldFont)
|
||||||
}
|
}
|
||||||
|
|
||||||
if label.attributedText != s {
|
if label.attributedText != s {
|
||||||
|
|
Loading…
Reference in New Issue