From 3938e7d9059af5f29eb9333cc8a79cbde9d3eab7 Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Wed, 8 May 2019 14:17:06 +0300 Subject: [PATCH] Fixed transfer dropdown style --- .../view/walletLineItem/walletLineItemStyles.js | 2 +- .../basicUIElements/view/walletLineItem/walletLineItemView.js | 2 ++ src/components/walletDetails/view/walletDetailsStyles.js | 3 +++ src/components/walletDetails/view/walletDetailsView.js | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js b/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js index 8886ff61c..96cd6faf2 100644 --- a/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js +++ b/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js @@ -78,7 +78,7 @@ export default EStyleSheet.create({ flex: 1, }, dropdownRowText: { - fontSize: 12.5, + fontSize: 14, color: '$primaryDarkGray', }, }); diff --git a/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js b/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js index 1f8c696ce..2e91b6adc 100644 --- a/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js +++ b/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js @@ -27,6 +27,7 @@ const WalletLineItem = ({ isHasdropdown, dropdownOptions, onDropdownSelect, + dropdownStyle, }) => ( @@ -86,6 +87,7 @@ const WalletLineItem = ({ noHighlight onSelect={onDropdownSelect} rowTextStyle={styles.dropdownRowText} + dropdownStyle={dropdownStyle} /> )} diff --git a/src/components/walletDetails/view/walletDetailsStyles.js b/src/components/walletDetails/view/walletDetailsStyles.js index c4a4dbc24..701812d63 100644 --- a/src/components/walletDetails/view/walletDetailsStyles.js +++ b/src/components/walletDetails/view/walletDetailsStyles.js @@ -11,4 +11,7 @@ export default EStyleSheet.create({ marginBottom: 15, marginTop: 0, }, + dropdownStyle: { + minWidth: '$deviceWidth * 0.7', + }, }); diff --git a/src/components/walletDetails/view/walletDetailsView.js b/src/components/walletDetails/view/walletDetailsView.js index ed7a45ff7..d986c28b0 100644 --- a/src/components/walletDetails/view/walletDetailsView.js +++ b/src/components/walletDetails/view/walletDetailsView.js @@ -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} /> intl.formatMessage({ id: `transfer.${item}` }))} onDropdownSelect={a => navigate(steemDropdown[a], 'SBD')} + dropdownStyle={styles.dropdownStyle} />