Commit 94aecd32 by Giang Tran

fix bug methodpay

parent f4dfaacb
......@@ -905,7 +905,7 @@
CODE_SIGN_ENTITLEMENTS = Invest/InvestDebug.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 17;
CURRENT_PROJECT_VERSION = 15;
DEVELOPMENT_TEAM = MXZ24GRH48;
ENABLE_BITCODE = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
......@@ -939,7 +939,7 @@
CODE_SIGN_ENTITLEMENTS = Invest/Invest.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 17;
CURRENT_PROJECT_VERSION = 15;
DEVELOPMENT_TEAM = MXZ24GRH48;
INFOPLIST_FILE = Invest/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
......
......@@ -2,7 +2,6 @@ import React, {useEffect, useState} from 'react';
import {Platform} from 'react-native';
import WithdrawView from './WithdrawView';
import {getListWidthDraw} from '../../../apis/Functions/Widthdraw';
import {Alert} from 'react-native';
const Withdraw = (props) => {
......
......@@ -13,6 +13,7 @@ const Item = (props) => {
const {item} = props;
return (
<TouchableOpacity onPress={() => navigate.navigate(METHODPAYDETAIL, item)}>
{item.bank ? (
<View style={styles.container}>
<Block flex={1} row center padding={[10, 10]}>
<Image source={{uri: item.bank.logo}} style={styles.imgIcon} />
......@@ -52,6 +53,9 @@ const Item = (props) => {
</Block>
</Block>
</View>
) : (
<View />
)}
</TouchableOpacity>
);
};
......
......@@ -31,6 +31,7 @@ const MethodPay = (props) => {
setRefresh(false);
if (res.data.code == 200 && res.data.data) {
setData(res.data.data);
console.log(res.data.data);
} else {
showAlert(TYPE.ERROR, I18n.t('Notification'), I18n.t('Can_not_get_data'));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment