Commit 37e7d1d2 by Giang Tran

update code

parent c5d2122a
...@@ -132,8 +132,8 @@ android { ...@@ -132,8 +132,8 @@ android {
applicationId "com.dcv.invest" applicationId "com.dcv.invest"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 16 versionCode 17
versionName "2.0" versionName "2.1"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
} }
splits { splits {
......
{
"version": 1,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.dcv.invest",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"properties": [],
"versionCode": 16,
"versionName": "2.0",
"enabled": true,
"outputFile": "app-release.apk"
}
]
}
\ No newline at end of file
...@@ -93,7 +93,7 @@ const ConfirmOTP = (propsa) => { ...@@ -93,7 +93,7 @@ const ConfirmOTP = (propsa) => {
if (res.data.code == 200 && res.data.data) { if (res.data.code == 200 && res.data.data) {
showAlert( showAlert(
TYPE.WARN, TYPE.SUCCESS,
I18n.t('Notification'), I18n.t('Notification'),
I18n.t('RegisterAccountSuccess'), I18n.t('RegisterAccountSuccess'),
); );
......
...@@ -52,6 +52,7 @@ const Registor = (props) => { ...@@ -52,6 +52,7 @@ const Registor = (props) => {
props.hideLoading(); props.hideLoading();
console.log(res); console.log(res);
if (res.data.code == 200) { if (res.data.code == 200) {
showAlert(TYPE.SUCCESS, I18n.t('Notification'), res.data.message);
navigation.navigate(REGISTEROTP, { navigation.navigate(REGISTEROTP, {
email, email,
password, password,
......
...@@ -311,7 +311,6 @@ export default { ...@@ -311,7 +311,6 @@ export default {
ChangeSmartOTP: 'Smart OTP', ChangeSmartOTP: 'Smart OTP',
Rules: 'Rules', Rules: 'Rules',
FAQs: 'FAQs', FAQs: 'FAQs',
EnterSmartOTPPINNEW: 'Please enter the Smart new OTP PIN code', EnterSmartOTPPINNEW: 'Please enter the Smart new OTP PIN code',
PassGetSmartOTP: 'Password get Smart OTP', PassGetSmartOTP: 'Password get Smart OTP',
......
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