Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Prasetya Saputra
clone_excelso
Commits
48d80b23
Commit
48d80b23
authored
May 18, 2020
by
Afid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
welcome
parent
f308f27c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
Auth.js
view/Auth.js
+3
-5
Login.js
view/Login.js
+1
-1
WelcomeLog.js
view/WelcomeLog.js
+2
-2
WelcomeReg.js
view/WelcomeReg.js
+1
-1
No files found.
view/Auth.js
View file @
48d80b23
...
...
@@ -145,12 +145,7 @@ class Auth extends React.Component {
<>
<
Stack
.
Screen
name
=
"Login"
component
=
{
Login
}
options
=
{{
headerShown
:
false
}}
/
>
<
Stack
.
Screen
name
=
"Login Welcome"
component
=
{
WelcomeLog
}
options
=
{{
headerShown
:
false
,
}}
/
>
<
Stack
.
Screen
name
=
"Home"
component
=
{
Home
}
/
>
<
Stack
.
Screen
name
=
"Profile"
component
=
{
ProfilePage
}
options
=
{{
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerTitleContainerStyle
:
{
alignContent
:
'center'
},
...
...
@@ -205,6 +200,9 @@ class Auth extends React.Component {
<
/
>
)
:
(
<>
<
Stack
.
Screen
name
=
"Login Welcome"
component
=
{
WelcomeLog
}
options
=
{{
headerShown
:
false
,
}}
/
>
<
Stack
.
Screen
name
=
"Home"
component
=
{
HomePage
}
options
=
{{
headerShown
:
false
,
...
...
view/Login.js
View file @
48d80b23
...
...
@@ -138,7 +138,7 @@ class Login extends React.Component {
index
:
0
,
routes
:
[
{
name
:
'
H
ome'
,
name
:
'
LoginWelc
ome'
,
params
:
{
someParam
:
'Param1'
},
},
],
...
...
view/WelcomeLog.js
View file @
48d80b23
...
...
@@ -6,7 +6,7 @@ export default class WelcomeLog extends React.Component {
constructor
(
props
)
{
super
(
props
);
this
.
state
=
({
spinner
:
''
spinner
:
false
})
}
...
...
@@ -38,7 +38,7 @@ export default class WelcomeLog extends React.Component {
<
/View
>
<
View
style
=
{
styles
.
v_policy
}
>
<
View
style
=
{{
flex
:
1
,
height
:
50
,
marginRight
:
70
,
marginLeft
:
70
,
justifyContent
:
'center'
}}
>
<
TouchableOpacity
onPress
=
{()
=>
navigation
.
reset
({
<
TouchableOpacity
onPress
=
{()
=>
this
.
props
.
navigation
.
reset
({
index
:
0
,
routes
:
[
{
...
...
view/WelcomeReg.js
View file @
48d80b23
...
...
@@ -7,7 +7,7 @@ export default class Welcome extends React.Component {
constructor
(
props
)
{
super
(
props
);
this
.
state
=
({
spinner
:
''
spinner
:
false
})
}
...
...
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