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, fontSize: 14,
color: '$primaryDarkGray', color: '$primaryDarkGray',
}, },
dropdownStyle: {
minWidth: '$deviceWidth * 0.7',
},
}); });

View File

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

View File

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

View File

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

View File

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

View File

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