mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-02 19:06:39 +03:00
Changed select design
This commit is contained in:
parent
3eb0234fb6
commit
1d136aa7d2
@ -81,4 +81,7 @@ export default EStyleSheet.create({
|
|||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: '$primaryDarkGray',
|
color: '$primaryDarkGray',
|
||||||
},
|
},
|
||||||
|
dropdownStyle: {
|
||||||
|
minWidth: '$deviceWidth * 0.7',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
@ -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>
|
||||||
)}
|
)}
|
||||||
|
@ -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,
|
||||||
|
@ -11,7 +11,4 @@ export default EStyleSheet.create({
|
|||||||
marginBottom: 15,
|
marginBottom: 15,
|
||||||
marginTop: 0,
|
marginTop: 0,
|
||||||
},
|
},
|
||||||
dropdownStyle: {
|
|
||||||
minWidth: '$deviceWidth * 0.7',
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
@ -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
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user