Skip to content

Commit 92a7e4e

Browse files
committed
wip: remove RCTSecureTextField
Instead, replace the backedTextInputView based on the "password" prop.
1 parent 32db2dc commit 92a7e4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Libraries/Components/TextInput/TextInput.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,9 +665,8 @@ const TextInput = createReactClass({
665665
}
666666
}
667667
}
668-
var TextField = props.password ? RCTSecureTextField : RCTSinglelineTextInputView;
669668
textContainer = (
670-
<TextField
669+
<RCTSinglelineTextInputView
671670
ref={this._setNativeRef}
672671
{...props}
673672
style={[{ minWidth: 100, height: NativeModules.TextFieldManager.ComponentHeight }, props.styles]}

0 commit comments

Comments
 (0)