mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 20:31:37 +03:00
Fixed transfer dropdown style
This commit is contained in:
parent
fb5de9e51e
commit
3938e7d905
@ -78,7 +78,7 @@ export default EStyleSheet.create({
|
||||
flex: 1,
|
||||
},
|
||||
dropdownRowText: {
|
||||
fontSize: 12.5,
|
||||
fontSize: 14,
|
||||
color: '$primaryDarkGray',
|
||||
},
|
||||
});
|
||||
|
@ -27,6 +27,7 @@ const WalletLineItem = ({
|
||||
isHasdropdown,
|
||||
dropdownOptions,
|
||||
onDropdownSelect,
|
||||
dropdownStyle,
|
||||
}) => (
|
||||
<GrayWrapper isGray={index && index % 2 !== 0}>
|
||||
<View style={[styles.container, fitContent && styles.fitContent, style]}>
|
||||
@ -86,6 +87,7 @@ const WalletLineItem = ({
|
||||
noHighlight
|
||||
onSelect={onDropdownSelect}
|
||||
rowTextStyle={styles.dropdownRowText}
|
||||
dropdownStyle={dropdownStyle}
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
|
@ -11,4 +11,7 @@ export default EStyleSheet.create({
|
||||
marginBottom: 15,
|
||||
marginTop: 0,
|
||||
},
|
||||
dropdownStyle: {
|
||||
minWidth: '$deviceWidth * 0.7',
|
||||
},
|
||||
});
|
||||
|
@ -47,6 +47,7 @@ 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
|
||||
@ -99,6 +100,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user