diff --git a/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js b/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js index d9411beb4..8886ff61c 100644 --- a/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js +++ b/src/components/basicUIElements/view/walletLineItem/walletLineItemStyles.js @@ -77,4 +77,8 @@ export default EStyleSheet.create({ dropdownWrapper: { flex: 1, }, + dropdownRowText: { + fontSize: 12.5, + color: '$primaryDarkGray', + }, }); diff --git a/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js b/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js index 92a219684..96f4b9b89 100644 --- a/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js +++ b/src/components/basicUIElements/view/walletLineItem/walletLineItemView.js @@ -85,6 +85,7 @@ const WalletLineItem = ({ options={dropdownOptions} noHighlight onSelect={onDropdownSelect} + rowTextStyle={styles.dropdownRowText} /> )} diff --git a/src/config/locales/en-US.json b/src/config/locales/en-US.json index 38cf0769b..1f08c1281 100644 --- a/src/config/locales/en-US.json +++ b/src/config/locales/en-US.json @@ -172,6 +172,7 @@ }, "alert": { "success": "Success!", + "successful": "Successful", "allRead": "Marked all notifications as read", "claim_reward_balance_ok": "Reward balance claimed", "fail": "Fail!", diff --git a/src/screens/transfer/container/transferContainer.js b/src/screens/transfer/container/transferContainer.js index 9ae8cfe79..16cdd3203 100644 --- a/src/screens/transfer/container/transferContainer.js +++ b/src/screens/transfer/container/transferContainer.js @@ -1,5 +1,6 @@ import React, { Component } from 'react'; import { connect } from 'react-redux'; +import { injectIntl } from 'react-intl'; // Services and Actions import { @@ -68,7 +69,7 @@ class TransferContainer extends Component { _transferToAccount = (from, destination, amount, memo) => { const { - currentAccount, pinCode, navigation, dispatch, + currentAccount, pinCode, navigation, dispatch, intl, } = this.props; const transferType = navigation.getParam('transferType', ''); @@ -109,7 +110,7 @@ class TransferContainer extends Component { return func(currentAccount, pinCode, data) .then(() => { - dispatch(toastNotification('Successfull')); + dispatch(toastNotification(intl.formatMessage({ id: 'alert.successful' }))); navigation.goBack(); }) .catch((err) => { @@ -154,4 +155,4 @@ const mapStateToProps = state => ({ pinCode: state.account.pin, }); -export default connect(mapStateToProps)(TransferContainer); +export default connect(mapStateToProps)(injectIntl(TransferContainer));