Skip to content

Commit

Permalink
Add missing indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
VickyStash committed Sep 12, 2024
1 parent de00fff commit 748b93c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ios/MarkdownTextInputDecoratorView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ - (void)setMarkdownStyle:(RCTMarkdownStyle *)markdownStyle
[_markdownUtils setMarkdownStyle:markdownStyle];

if (_textView != nil) {
// We want to use `textStorage` for applying markdown when possible. Currently it's only available for UITextView
[_textView textDidChange];
// We want to use `textStorage` for applying markdown when possible. Currently it's only available for UITextView
[_textView textDidChange];
} else {
// apply new styles
// apply new styles
#ifdef RCT_NEW_ARCH_ENABLED
[_textInput _setAttributedString:_backedTextInputView.attributedText];
[_textInput _setAttributedString:_backedTextInputView.attributedText];
#else
[_textInput setAttributedText:_textInput.attributedText];
[_textInput setAttributedText:_textInput.attributedText];
#endif /* RCT_NEW_ARCH_ENABLED */
}
}
Expand Down

0 comments on commit 748b93c

Please sign in to comment.