Skip to content

Commit

Permalink
wip: remove RCTSecureTextField
Browse files Browse the repository at this point in the history
Instead, replace the backedTextInputView based on the "password" prop.
  • Loading branch information
aleclarson committed Feb 27, 2019
1 parent 32db2dc commit 92a7e4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -665,9 +665,8 @@ const TextInput = createReactClass({
}
}
}
var TextField = props.password ? RCTSecureTextField : RCTSinglelineTextInputView;
textContainer = (
<TextField
<RCTSinglelineTextInputView
ref={this._setNativeRef}
{...props}
style={[{ minWidth: 100, height: NativeModules.TextFieldManager.ComponentHeight }, props.styles]}
Expand Down

0 comments on commit 92a7e4e

Please sign in to comment.