File tree 2 files changed +5
-8
lines changed 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,6 @@ class BaseTextInput extends Component {
262
262
this . props . inputStyle ,
263
263
! hasLabel && styles . pv0 ,
264
264
this . props . prefixCharacter && StyleUtils . getPaddingLeft ( this . state . prefixWidth + styles . pl1 . paddingLeft ) ,
265
- this . props . secureTextEntry && styles . secureInput ,
266
265
] }
267
266
multiline = { this . props . multiline }
268
267
maxLength = { this . props . maxLength }
@@ -276,7 +275,7 @@ class BaseTextInput extends Component {
276
275
{ this . props . secureTextEntry && (
277
276
< Pressable
278
277
accessibilityRole = "button"
279
- style = { styles . secureInputEyeButton }
278
+ style = { styles . secureInputShowPasswordButton }
280
279
onPress = { this . togglePasswordVisibility }
281
280
>
282
281
< Icon
Original file line number Diff line number Diff line change @@ -715,14 +715,12 @@ const styles = {
715
715
716
716
textInputDesktop : addOutlineWidth ( { } , 0 ) ,
717
717
718
- secureInputEyeButton : {
718
+ secureInputShowPasswordButton : {
719
+ borderTopRightRadius : 6 ,
720
+ borderBottomRightRadius : 6 ,
719
721
paddingHorizontal : 11 ,
720
722
justifyContent : 'center' ,
721
- } ,
722
-
723
- secureInput : {
724
- borderTopRightRadius : 0 ,
725
- borderBottomRightRadius : 0 ,
723
+ margin : 1 ,
726
724
} ,
727
725
728
726
textInput : {
You can’t perform that action at this time.
0 commit comments