From 1d136aa7d2de1f9119d0bd9b7d18145d72d26735 Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Wed, 8 May 2019 17:19:36 +0300 Subject: [PATCH] Changed select design --- .../view/walletLineItem/walletLineItemStyles.js | 3 +++ .../basicUIElements/view/walletLineItem/walletLineItemView.js | 2 +- src/components/settingsItem/view/settingsItemStyles.js | 3 ++- src/components/walletDetails/view/walletDetailsStyles.js | 3 --- src/components/walletDetails/view/walletDetailsView.js | 2 -- src/screens/transfer/screen/transferStyles.js | 3 ++- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js b/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js index 96cd6faf2..9387a288a 100644 --- a/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js +++ b/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js @@ -81,4 +81,7 @@ export default EStyleSheet.create({ fontSize: 14, color: '$primaryDarkGray', }, + dropdownStyle: { + minWidth: '$deviceWidth * 0.7', + }, }); diff --git a/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js b/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js index 2e91b6adc..bb0039858 100644 --- a/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js +++ b/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js @@ -87,7 +87,7 @@ const WalletLineItem = ({ noHighlight onSelect={onDropdownSelect} rowTextStyle={styles.dropdownRowText} - dropdownStyle={dropdownStyle} + dropdownStyle={styles.dropdownStyle} /> )} diff --git a/src/components/settingsItem/view/settingsItemStyles.js b/src/components/settingsItem/view/settingsItemStyles.js index 130a18fd8..e0e6ea3b3 100644 --- a/src/components/settingsItem/view/settingsItemStyles.js +++ b/src/components/settingsItem/view/settingsItemStyles.js @@ -31,7 +31,8 @@ export default EStyleSheet.create({ maxHeight: '$deviceHeight - 200', }, dropdownButtonStyle: { - backgroundColor: '$primaryGray', + borderColor: '$primaryGray', + borderWidth: 1, height: 44, width: 172, borderRadius: 8, diff --git a/src/components/walletDetails/view/walletDetailsStyles.js b/src/components/walletDetails/view/walletDetailsStyles.js index 701812d63..c4a4dbc24 100644 --- a/src/components/walletDetails/view/walletDetailsStyles.js +++ b/src/components/walletDetails/view/walletDetailsStyles.js @@ -11,7 +11,4 @@ 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 d986c28b0..ed7a45ff7 100644 --- a/src/components/walletDetails/view/walletDetailsView.js +++ b/src/components/walletDetails/view/walletDetailsView.js @@ -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} /> intl.formatMessage({ id: `transfer.${item}` }))} onDropdownSelect={a => navigate(steemDropdown[a], 'SBD')} - dropdownStyle={styles.dropdownStyle} />