mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 04:11:50 +03:00
Typo fix for transfer screen
This commit is contained in:
parent
a12e8729e2
commit
fec1463250
@ -77,4 +77,8 @@ export default EStyleSheet.create({
|
||||
dropdownWrapper: {
|
||||
flex: 1,
|
||||
},
|
||||
dropdownRowText: {
|
||||
fontSize: 12.5,
|
||||
color: '$primaryDarkGray',
|
||||
},
|
||||
});
|
||||
|
@ -85,6 +85,7 @@ const WalletLineItem = ({
|
||||
options={dropdownOptions}
|
||||
noHighlight
|
||||
onSelect={onDropdownSelect}
|
||||
rowTextStyle={styles.dropdownRowText}
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
|
@ -172,6 +172,7 @@
|
||||
},
|
||||
"alert": {
|
||||
"success": "Success!",
|
||||
"successful": "Successful",
|
||||
"allRead": "Marked all notifications as read",
|
||||
"claim_reward_balance_ok": "Reward balance claimed",
|
||||
"fail": "Fail!",
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user