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
28959be9
Commit
28959be9
authored
May 07, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update code
parent
849d40b1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
19 deletions
+26
-19
App.js
App.js
+0
-1
RootView.js
src/RootView.js
+10
-2
DropDown.js
src/components/DropDown.js
+15
-16
HeaderHome.js
src/components/Header/HeaderHome.js
+1
-0
No files found.
App.js
View file @
28959be9
...
...
@@ -7,7 +7,6 @@ import rootReducer from './src/Reducers/index';
import
RootView
from
'./src/RootView'
;
import
createSagaMiddleware
from
'redux-saga'
;
import
rootSaga
from
'./src/Saga/rootSaga'
;
import
FirebaseNotification
from
'./src/helper/FirebaseNotification'
;
let
bootSplashLogo
=
require
(
'./src/assets/images/iconSplash.png'
);
...
...
src/RootView.js
View file @
28959be9
import
React
,
{
useEffect
}
from
'react'
;
import
{
View
,
Text
,
ImageBackground
,
StyleSheet
,
StatusBar
}
from
'react-native'
;
import
{
View
,
Text
,
ImageBackground
,
StyleSheet
,
StatusBar
,
SafeAreaView
,
}
from
'react-native'
;
import
{
connect
}
from
'react-redux'
;
import
StackNavigation
from
'./routers/StackNavigation'
;
...
...
@@ -25,13 +32,14 @@ const RootView = (props) => {
return
(
<>
<
View
style
=
{{
flex
:
1
}}
>
{
/* <DropDown /> */
}
<
Modal
isVisible
=
{
props
.
loadingModal
.
isVisible
}
>
<
SkypeIndicator
color
=
{
'white'
}
/
>
<
/Modal
>
<
StackNavigation
/>
<
/View
>
{
/*<VersionChecker/>*/
}
{
/* <DropDown /> */
}
<
NoInternetComponent
/>
<
/
>
);
...
...
src/components/DropDown.js
View file @
28959be9
...
...
@@ -90,22 +90,20 @@ const DropDown = () => {
};
return
(
<
View
style
=
{
styles
.
container
}
>
<
DropdownAlert
ref
=
{(
ref
)
=>
{
if
(
ref
)
{
dropDownAlertRef
=
ref
;
}
}}
containerStyle
=
{
styles
.
content
}
showCancel
=
{
true
}
onCancel
=
{
_onCancel
}
onTap
=
{
_onTap
}
titleNumOfLines
=
{
2
}
messageNumOfLines
=
{
0
}
onClose
=
{
_onClose
}
/
>
<
/View
>
<
DropdownAlert
ref
=
{(
ref
)
=>
{
if
(
ref
)
{
dropDownAlertRef
=
ref
;
}
}}
containerStyle
=
{
styles
.
content
}
showCancel
=
{
true
}
onCancel
=
{
_onCancel
}
onTap
=
{
_onTap
}
titleNumOfLines
=
{
2
}
messageNumOfLines
=
{
0
}
onClose
=
{
_onClose
}
/
>
);
};
...
...
@@ -116,6 +114,7 @@ const styles = StyleSheet.create({
},
content
:
{
backgroundColor
:
PURPLE_COLOR
,
zIndex
:
10
,
},
size
:
{
textAlign
:
'center'
,
...
...
src/components/Header/HeaderHome.js
View file @
28959be9
...
...
@@ -200,6 +200,7 @@ const HeaderHome = (props) => {
<
View
style
=
{
styles
.
container
}
>
<
SnackBar
/>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
<
View
style
=
{{
justifyContent
:
'center'
,
...
...
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