File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -824,7 +824,7 @@ - (void)setYy_strikethroughStyle:(NSUnderlineStyle)strikethroughStyle {
824824}
825825
826826- (void )setYy_strikethroughColor : (UIColor *)strikethroughColor {
827- [self yy_setStrokeColor : strikethroughColor range: NSMakeRange (0 , self .length)];
827+ [self yy_setStrikethroughColor : strikethroughColor range: NSMakeRange (0 , self .length)];
828828}
829829
830830- (void )setYy_underlineStyle : (NSUnderlineStyle )underlineStyle {
Original file line number Diff line number Diff line change @@ -2364,6 +2364,7 @@ - (void)setPlaceholderText:(NSString *)placeholderText {
23642364 _placeholderAttributedText = atr;
23652365 }
23662366 }
2367+ _placeholderText = [_placeholderAttributedText yy_plainTextForRange: NSMakeRange (0 , _placeholderAttributedText.length)];
23672368 [self _commitPlaceholderUpdate ];
23682369}
23692370
You can’t perform that action at this time.
0 commit comments