Commit 5b53847f by Giang Tran

update code

parent 9d447a40
......@@ -132,8 +132,8 @@ android {
applicationId "com.dcv.invest"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 20
versionName "2.4"
versionCode 21
versionName "2.5"
vectorDrawables.useSupportLibrary = true
}
splits {
......
......@@ -129,8 +129,9 @@ const SearchProductCodeModal = (props) => {
<AppText
style={[styles.txtTitle, {marginTop: HEIGHTXD(40)}]}
i18nKey={'OpenAccountCQG'}
/>
i18nKey={'OpenAccountCQG'}>
:
</AppText>
<PickerItem
defaultValue={open.name}
width={width - 40}
......
......@@ -21,6 +21,7 @@ const Media = (props) => {
platform: Platform.OS,
});
if (res.data.code == 200 && res.data.data) {
console.log(res.data.data);
if (res.data.data[0] && res.data.data[0].data[0])
setMediaHot(res.data.data[0].data[0]);
setData(res.data.data);
......
......@@ -74,11 +74,7 @@ const MediaView = (props) => {
);
}
return (
<View>
<Text>H</Text>
</View>
);
return <View></View>;
};
const styles = StyleSheet.create({
......
......@@ -28,7 +28,7 @@ const Notifcation = (props) => {
setisRefresh(false);
if ((res.data.code = 200 && res.data.data)) {
setData(res.data.data);
setTotalPage(res.data.meta.pages);
//setTotalPage(res.data.meta.pages);
} else {
showAlert(TYPE.ERROR, I18n.t('Notification'), res.data.message);
}
......
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