diff --git a/Libraries/Text/TextInput/RCTBaseTextInputView.m b/Libraries/Text/TextInput/RCTBaseTextInputView.m index 3c8321c26..c1c3b00c8 100644 --- a/Libraries/Text/TextInput/RCTBaseTextInputView.m +++ b/Libraries/Text/TextInput/RCTBaseTextInputView.m @@ -68,7 +68,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithFrame:(CGRect)frame) - (void)enforceTextAttributesIfNeeded { id backedTextInputView = self.backedTextInputView; - if (backedTextInputView.attributedText.string.length != 0) { + if (backedTextInputView.attributedText.string.length == 0) { return; }