Skip to content

Commit

Permalink
Use _textInput instead of _textView
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed May 21, 2024
1 parent ca19afa commit 8720e3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/MarkdownTextInputDecoratorView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ - (void)setMarkdownStyle:(RCTMarkdownStyle *)markdownStyle

// apply new styles
#ifdef RCT_NEW_ARCH_ENABLED
[_textInput _setAttributedString:_textView.attributedText];
[_textInput _setAttributedString:_textInput.attributedText];

Check failure on line 106 in ios/MarkdownTextInputDecoratorView.mm

View workflow job for this annotation

GitHub Actions / build (Fabric)

property 'attributedText' not found on object of type 'RCTTextInputComponentView *'
#else
[_textInput setAttributedText:_textView.attributedText];
[_textInput setAttributedText:_textInput.attributedText];
#endif /* RCT_NEW_ARCH_ENABLED */
}

Expand Down

0 comments on commit 8720e3e

Please sign in to comment.