Skip to content

Commit fdca5f7

Browse files
rzmnmats-claassen
authored andcommitted
fix: can't update placeholder color using setNeedsDisplay in XLFormTextView (#1024)
1 parent 204cad6 commit fdca5f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

XLForm/XL/Helpers/Views/XLFormTextView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ - (void)drawRect:(CGRect)rect
7878
}
7979
_placeHolderLabel.text = self.placeholder;
8080
_placeHolderLabel.font = self.font;
81+
_placeHolderLabel.textColor = self.placeholderColor;
8182
[_placeHolderLabel sizeToFit];
8283
[self sendSubviewToBack:_placeHolderLabel];
8384
}

0 commit comments

Comments
 (0)