mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 12:21:31 +03:00
Changed select design
This commit is contained in:
parent
3eb0234fb6
commit
1d136aa7d2
@ -81,4 +81,7 @@ export default EStyleSheet.create({
|
||||
fontSize: 14,
|
||||
color: '$primaryDarkGray',
|
||||
},
|
||||
dropdownStyle: {
|
||||
minWidth: '$deviceWidth * 0.7',
|
||||
},
|
||||
});
|
||||
|
@ -87,7 +87,7 @@ const WalletLineItem = ({
|
||||
noHighlight
|
||||
onSelect={onDropdownSelect}
|
||||
rowTextStyle={styles.dropdownRowText}
|
||||
dropdownStyle={dropdownStyle}
|
||||
dropdownStyle={styles.dropdownStyle}
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
|
@ -31,7 +31,8 @@ export default EStyleSheet.create({
|
||||
maxHeight: '$deviceHeight - 200',
|
||||
},
|
||||
dropdownButtonStyle: {
|
||||
backgroundColor: '$primaryGray',
|
||||
borderColor: '$primaryGray',
|
||||
borderWidth: 1,
|
||||
height: 44,
|
||||
width: 172,
|
||||
borderRadius: 8,
|
||||
|
@ -11,7 +11,4 @@ export default EStyleSheet.create({
|
||||
marginBottom: 15,
|
||||
marginTop: 0,
|
||||
},
|
||||
dropdownStyle: {
|
||||
minWidth: '$deviceWidth * 0.7',
|
||||
},
|
||||
});
|
||||
|
@ -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
|
||||
|
@ -74,7 +74,8 @@ export default EStyleSheet.create({
|
||||
maxHeight: '$deviceHeight - 200',
|
||||
},
|
||||
dropdownButtonStyle: {
|
||||
backgroundColor: '$primaryGray',
|
||||
borderColor: '$borderColor',
|
||||
borderWidth: 1,
|
||||
height: 44,
|
||||
width: 172,
|
||||
borderRadius: 8,
|
||||
|
Loading…
Reference in New Issue
Block a user