File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -493,10 +493,6 @@ export default class Dropdown extends PureComponent {
493
493
} ,
494
494
} ;
495
495
496
- let textAlign = I18nManager . isRTL ?
497
- 'left' :
498
- 'right' ;
499
-
500
496
return data
501
497
. map ( ( item , index ) => {
502
498
if ( null == item ) {
@@ -516,11 +512,11 @@ export default class Dropdown extends PureComponent {
516
512
itemColor :
517
513
selectedItemColor ;
518
514
519
- let style = { color, fontSize, textAlign } ;
515
+ let style = { color, fontSize } ;
520
516
521
517
return (
522
518
< DropdownItem index = { index } key = { index } { ...props } >
523
- < Text style = { [ itemTextStyle , style ] } numberOfLines = { 1 } >
519
+ < Text style = { [ styles . item , itemTextStyle , style ] } numberOfLines = { 1 } >
524
520
{ title }
525
521
</ Text >
526
522
</ DropdownItem >
Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ export default StyleSheet.create({
47
47
} ) ,
48
48
} ,
49
49
50
+ item : {
51
+ textAlign : 'left' ,
52
+ } ,
53
+
50
54
scroll : {
51
55
flex : 1 ,
52
56
borderRadius : 2 ,
You can’t perform that action at this time.
0 commit comments