mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 04:11:50 +03:00
Merge pull request #773 from esteemapp/feature/transfer
Fixed transfer form issue
This commit is contained in:
commit
2330b30637
@ -26,7 +26,7 @@ class WalletContainer extends PureComponent {
|
||||
// Component Life Cycle Functions
|
||||
|
||||
// Component Functions
|
||||
_navigate = (transferType, fundType) => {
|
||||
_navigate = async (transferType, fundType) => {
|
||||
const { dispatch, setPinCodeState, walletData } = this.props;
|
||||
let balance;
|
||||
|
||||
@ -41,7 +41,7 @@ class WalletContainer extends PureComponent {
|
||||
break;
|
||||
}
|
||||
|
||||
setPinCodeState({
|
||||
await setPinCodeState({
|
||||
navigateTo: ROUTES.SCREENS.TRANSFER,
|
||||
navigateParams: { transferType, fundType, balance },
|
||||
});
|
||||
|
@ -313,6 +313,7 @@ class PinCodeContainer extends Component {
|
||||
render() {
|
||||
const { currentAccount, intl, isReset } = this.props;
|
||||
const { informationText, isExistUser } = this.state;
|
||||
|
||||
return (
|
||||
<PinCodeScreen
|
||||
informationText={informationText}
|
||||
|
@ -157,8 +157,8 @@ const RootContainer = () => (WrappedComponent) => {
|
||||
}, 1 * 60 * 1000);
|
||||
};
|
||||
|
||||
_setPinCodeState = (data) => {
|
||||
this.setState({ pinCodeStates: { ...data } });
|
||||
_setPinCodeState = async (data) => {
|
||||
return this.setState({ pinCodeStates: { ...data } });
|
||||
};
|
||||
|
||||
_setWrappedComponentState = (data) => {
|
||||
|
Loading…
Reference in New Issue
Block a user