Changed select design

This commit is contained in:
Mustafa Buyukcelebi 2019-05-08 17:19:36 +03:00
parent 3eb0234fb6
commit 1d136aa7d2
6 changed files with 8 additions and 8 deletions

View File

@ -81,4 +81,7 @@ export default EStyleSheet.create({
fontSize: 14,
color: '$primaryDarkGray',
},
dropdownStyle: {
minWidth: '$deviceWidth * 0.7',
},
});

View File

@ -87,7 +87,7 @@ const WalletLineItem = ({
noHighlight
onSelect={onDropdownSelect}
rowTextStyle={styles.dropdownRowText}
dropdownStyle={dropdownStyle}
dropdownStyle={styles.dropdownStyle}
/>
</View>
)}

View File

@ -31,7 +31,8 @@ export default EStyleSheet.create({
maxHeight: '$deviceHeight - 200',
},
dropdownButtonStyle: {
backgroundColor: '$primaryGray',
borderColor: '$primaryGray',
borderWidth: 1,
height: 44,
width: 172,
borderRadius: 8,

View File

@ -11,7 +11,4 @@ export default EStyleSheet.create({
marginBottom: 15,
marginTop: 0,
},
dropdownStyle: {
minWidth: '$deviceWidth * 0.7',
},
});

View File

@ -47,7 +47,6 @@ class WalletDetailsView extends PureComponent {
isHasdropdown={isShowDropdowns}
dropdownOptions={steemDropdown.map(item => intl.formatMessage({ id: `transfer.${item}` }))}
onDropdownSelect={index => navigate(steemDropdown[index], 'STEEM')}
dropdownStyle={styles.dropdownStyle}
/>
<GrayWrapper isGray>
<WalletLineItem
@ -100,7 +99,6 @@ class WalletDetailsView extends PureComponent {
isHasdropdown={isShowDropdowns}
dropdownOptions={sbdDropdown.map(item => intl.formatMessage({ id: `transfer.${item}` }))}
onDropdownSelect={a => navigate(steemDropdown[a], 'SBD')}
dropdownStyle={styles.dropdownStyle}
/>
<GrayWrapper isGray>
<WalletLineItem

View File

@ -74,7 +74,8 @@ export default EStyleSheet.create({
maxHeight: '$deviceHeight - 200',
},
dropdownButtonStyle: {
backgroundColor: '$primaryGray',
borderColor: '$borderColor',
borderWidth: 1,
height: 44,
width: 172,
borderRadius: 8,