From 8720e3e795262789a5685283bab5cc863f4586aa Mon Sep 17 00:00:00 2001 From: Tomek Zawadzki Date: Tue, 21 May 2024 09:54:22 +0200 Subject: [PATCH] Use `_textInput` instead of `_textView` --- ios/MarkdownTextInputDecoratorView.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/MarkdownTextInputDecoratorView.mm b/ios/MarkdownTextInputDecoratorView.mm index d72c019f..e451e8db 100644 --- a/ios/MarkdownTextInputDecoratorView.mm +++ b/ios/MarkdownTextInputDecoratorView.mm @@ -103,9 +103,9 @@ - (void)setMarkdownStyle:(RCTMarkdownStyle *)markdownStyle // apply new styles #ifdef RCT_NEW_ARCH_ENABLED - [_textInput _setAttributedString:_textView.attributedText]; + [_textInput _setAttributedString:_textInput.attributedText]; #else - [_textInput setAttributedText:_textView.attributedText]; + [_textInput setAttributedText:_textInput.attributedText]; #endif /* RCT_NEW_ARCH_ENABLED */ }