Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giang Tran
InvestCustomer
Commits
1e8e457f
Commit
1e8e457f
authored
3 years ago
by
Nguyễn Thị Thúy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge func_smart_otp
parent
fb0f1c10
switch_rsa
…
build_01_July
build_02_July
build_06_07
build_11_June
build_14_June
build_15_july
build_30_June
build_release_1806
dev_01_July
dev_05_July
dev_11_June
dev_14_July
dev_18_June
dev_phase2
ekyc
func_fingerprint_login
func_smart_otp
search_period
1 merge request
!21
Func smart otp
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
30 deletions
+22
-30
project.pbxproj
ios/Invest.xcodeproj/project.pbxproj
+6
-6
WalletDeposit.js
src/Screens/Action/Wallet/WalletDeposit.js
+15
-22
Home.js
src/Screens/Home/Home.js
+0
-1
PriceListView.js
src/Screens/Home/PriceListView.js
+1
-1
No files found.
ios/Invest.xcodeproj/project.pbxproj
View file @
1e8e457f
...
...
@@ -18,7 +18,7 @@
2DCD954D1E0B4F2C00145EB5
/* InvestTests.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
00E356F21AD99517003FC87E
/* InvestTests.m */
;
};
2FCC6749524E697FC9323F22
/* libPods-Invest-InvestTests.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
ABCEBFE5646F1EF68E7C87AB
/* libPods-Invest-InvestTests.a */
;
};
48E6A9A75AE9C55476F21D2D
/* libPods-Invest-tvOSTests.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
4ECD31835B4784D2DC719E76
/* libPods-Invest-tvOSTests.a */
;
};
52B7A0A425F722CF00CEDA09
/*
BuildFile
in Resources */
=
{
isa
=
PBXBuildFile
;
};
52B7A0A425F722CF00CEDA09
/*
(null)
in Resources */
=
{
isa
=
PBXBuildFile
;
};
52F3AE2D26257DEC00F77114
/* GoogleService-Info.plist in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
52F3AE2C26257DEB00F77114
/* GoogleService-Info.plist */
;
};
52FB2B09262400D400DD7983
/* BootSplash.storyboard in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
52FB2B08262400D400DD7983
/* BootSplash.storyboard */
;
};
52FB2B0A262400D400DD7983
/* BootSplash.storyboard in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
52FB2B08262400D400DD7983
/* BootSplash.storyboard */
;
};
...
...
@@ -406,7 +406,7 @@
13B07FBF1A68108700A75B9A
/* Images.xcassets in Resources */
,
13B07FBD1A68108700A75B9A
/* LaunchScreen.xib in Resources */
,
52F3AE2D26257DEC00F77114
/* GoogleService-Info.plist in Resources */
,
52B7A0A425F722CF00CEDA09
/*
BuildFile
in Resources */
,
52B7A0A425F722CF00CEDA09
/*
(null)
in Resources */
,
52FB2B09262400D400DD7983
/* BootSplash.storyboard in Resources */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
...
...
@@ -903,7 +903,7 @@
CODE_SIGN_ENTITLEMENTS
=
Invest/Invest.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
6
;
CURRENT_PROJECT_VERSION
=
5
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
ENABLE_BITCODE
=
NO
;
GCC_PREPROCESSOR_DEFINITIONS
=
(
...
...
@@ -912,7 +912,7 @@
);
INFOPLIST_FILE
=
Invest/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
MARKETING_VERSION
=
2.
1
;
MARKETING_VERSION
=
2.
0
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"-ObjC"
,
...
...
@@ -937,11 +937,11 @@
CODE_SIGN_ENTITLEMENTS
=
Invest/Invest.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
6
;
CURRENT_PROJECT_VERSION
=
5
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
INFOPLIST_FILE
=
Invest/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
MARKETING_VERSION
=
2.
1
;
MARKETING_VERSION
=
2.
0
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"-ObjC"
,
...
...
This diff is collapsed.
Click to expand it.
src/Screens/Action/Wallet/WalletDeposit.js
View file @
1e8e457f
import
React
,
{
useState
}
from
'react'
;
import
{
View
,
Text
,
StyleSheet
,
Dimensions
,
TouchableOpacity
,
Alert
,
TouchableWithoutFeedback
,
Keyboard
,
KeyboardAvoidingView
,
Platform
,
ScrollView
,
StyleSheet
,
Text
,
TouchableOpacity
,
TouchableWithoutFeedback
,
View
,
}
from
'react-native'
;
import
R
from
'../../../assets/R'
;
import
HeaderBack
from
'../../../components/Header/HeaderBack'
;
import
TextField
from
'../../../components/Input/TextField'
;
import
TextMulti
from
'../../../components/Input/TextMulti'
;
import
TextDisable
from
'../../../components/Input/TextDisable'
;
import
{
useNavigation
}
from
'@react-navigation/native'
;
import
{
getFontXD
,
toPriceVnd
,
checkFormatArray
,
WIDTHXD
,
HEIGHTXD
,
}
from
'../../../Config/Functions'
;
import
{
checkFormatArray
,
getFontXD
,
HEIGHTXD
,
toPriceVnd
,
WIDTHXD
}
from
'../../../Config/Functions'
;
import
{
connect
}
from
'react-redux'
;
import
{
showLoading
,
hideLoading
}
from
'../../../actions/loadingAction'
;
import
{
walletDeposit
}
from
'../../../apis/Functions/Deposit'
;
import
{
hideLoading
,
showLoading
}
from
'../../../actions/loadingAction'
;
import
TextMoney
from
'../../../components/Input/InputMoney'
;
import
I18n
from
'../../../helper/i18/i18n'
;
import
{
ENTER_PASSWORD_SMART_OTP
,
OTPWALLET
,
SMARTOTP
}
from
'../../../routers/ScreenNames'
;
import
{
getOTPApi
}
from
'../../../apis/Functions/users'
;
import
{
ENTER_PASSWORD_SMART_OTP
,
SMARTOTP
}
from
'../../../routers/ScreenNames'
;
import
{
showAlert
,
TYPE
}
from
'../../../components/DropdownAlert'
;
import
EnterPasswordSmartOTP
from
'../../SmartOTP/EnterPasswordSmartOTP'
;
const
{
width
}
=
Dimensions
.
get
(
'window'
);
...
...
@@ -49,11 +36,17 @@ const WalletDeposit = (props) => {
I18n
.
t
(
'Note'
).
toLowerCase
(),
];
const
index
=
checkFormatArray
([
amount
,
notes
]);
const
index
=
checkFormatArray
([
amount
]);
if
(
index
===
true
)
{
navigate
.
navigate
(
ENTER_PASSWORD_SMART_OTP
,
{
onGoToSmartOTP
:
(
pinCode
,
otp
)
=>
onGoToSmartOTP
(
pinCode
,
otp
)
});
}
else
{
showAlert
(
TYPE
.
WARN
,
I18n
.
t
(
'Notification'
),
I18n
.
t
(
'Please_fill_in'
)
+
titles
[
index
],
);
}
};
const
onGoToSmartOTP
=
(
pinCode
,
otp
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
src/Screens/Home/Home.js
View file @
1e8e457f
...
...
@@ -218,7 +218,6 @@ const Home = (props) => {
/
>
);
};
<
VersionChecker
/>
;
const
mapStateToProps
=
(
state
)
=>
{
return
{
user
:
state
.
userReducer
,
...
...
This diff is collapsed.
Click to expand it.
src/Screens/Home/PriceListView.js
View file @
1e8e457f
...
...
@@ -40,7 +40,7 @@ const PriceListView = (props) => {
<
/View
>
<
FlatList
style
=
{{
paddingBottom
:
HEIGHTXD
(
15
),
backgroundColor
:
R
.
colors
.
white
}}
keyExtractor
=
{(
item
)
=>
item
.
id
}
keyExtractor
=
{(
item
)
=>
item
.
id
.
toString
()
}
data
=
{
dataPrice
}
ListHeaderComponent
=
{()
=>
<
View
style
=
{[
styles
.
container
]}
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment