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
0216fabf
Commit
0216fabf
authored
May 12, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '05_May' into dev_phase2
parents
5c26a7f0
3ce5a4c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
10 deletions
+1
-10
Profile.js
src/Screens/AccountVerification/Tab/Profile.js
+1
-2
PickerImg.js
src/components/Picker/PickerImg.js
+0
-4
PickerImgUni.js
src/components/Picker/PickerImgUni.js
+0
-4
No files found.
src/Screens/AccountVerification/Tab/Profile.js
View file @
0216fabf
...
...
@@ -104,8 +104,7 @@ const Profile = (props) => {
});
props
.
showLoading
();
const
res
=
await
verifyAccountApi
(
data
);
props
.
hideLoading
();
console
.
log
(
res
);
if
(
res
.
data
.
code
==
200
)
{
setTimeout
(()
=>
{
props
.
saveUserToRedux
(
res
.
data
.
data
);
...
...
src/components/Picker/PickerImg.js
View file @
0216fabf
...
...
@@ -35,7 +35,6 @@ const PickerImg = (props) => {
ImagePicker
.
openPicker
({
mediaType
:
'photo'
,
multiple
:
true
,
cropping
:
true
,
}).
then
((
images
)
=>
{
setModalVisible
(
false
);
...
...
@@ -47,9 +46,6 @@ const PickerImg = (props) => {
const
onCapture
=
()
=>
{
ImagePicker
.
openCamera
({
mediaType
:
'photo'
,
width
:
300
,
height
:
400
,
cropping
:
true
,
}).
then
((
image
)
=>
{
setModalVisible
(
false
);
...
...
src/components/Picker/PickerImgUni.js
View file @
0216fabf
...
...
@@ -50,7 +50,6 @@ const PickerImgUni = (props) => {
ImagePicker
.
openPicker
({
mediaType
:
'photo'
,
multiple
:
false
,
cropping
:
true
,
}).
then
((
image
)
=>
{
setModalVisible
(
false
);
setUrlImg
(
image
.
path
);
...
...
@@ -62,9 +61,6 @@ const PickerImgUni = (props) => {
if
(
Platform
.
OS
==
'android'
)
checkPermissionAndroid
();
ImagePicker
.
openCamera
({
mediaType
:
'photo'
,
width
:
300
,
height
:
400
,
cropping
:
true
,
}).
then
((
image
)
=>
{
setModalVisible
(
false
);
setUrlImg
(
image
.
path
);
...
...
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