Skip to content

Commit

Permalink
move padding right to use utility function
Browse files Browse the repository at this point in the history
Co-authored-by: Rajat Parashar <parasharrajat@users.noreply.github.com>
  • Loading branch information
anthony-hull and parasharrajat authored Nov 29, 2021
1 parent c96e703 commit ff42609
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/ExpensiTextInput/BaseExpensiTextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class BaseExpensiTextInput extends Component {
placeholder={(this.state.isFocused || !this.props.label) ? this.props.placeholder : null}
placeholderTextColor={themeColors.placeholderText}
underlineColorAndroid="transparent"
style={[this.props.inputStyle, styles.flex1, styles.w100, !hasLabel && styles.pv0, this.props.secureTextEntry && styles.expensiTextInputWithIcon]}
style={[this.props.inputStyle, styles.flex1, styles.w100, !hasLabel && styles.pv0, this.props.secureTextEntry && styles.pr2]}
multiline={this.props.multiline}
onFocus={this.onFocus}
onBlur={this.onBlur}
Expand Down
4 changes: 0 additions & 4 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,6 @@ const styles = {
zIndex: -1,
},

expensiTextInputWithIcon: {
paddingRight: 8,
},

expensiTextInputDesktop: addOutlineWidth({}, 0),

expensiTextInputAndroid: left => ({
Expand Down

0 comments on commit ff42609

Please sign in to comment.