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
690dcf3c
Commit
690dcf3c
authored
Jun 16, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update version revisi 4
parent
f51b347a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
4 deletions
+34
-4
Auth.js
view/Auth.js
+30
-0
Login.js
view/Login.js
+4
-4
No files found.
view/Auth.js
View file @
690dcf3c
...
...
@@ -238,6 +238,21 @@ class Auth extends React.Component {
textAlign
:
'center'
},
title
:
'PROFILE'
}}
/
>
<
Stack
.
Screen
name
=
"UpdateVersion"
component
=
{
UpdateVersion
}
options
=
{{
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerTitleContainerStyle
:
{
alignContent
:
'center'
},
headerTitleAlign
:
'center'
,
headerTintColor
:
'#fff'
,
headerTitleStyle
:
{
alignSelf
:
'center'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
,
color
:
'white'
,
textAlign
:
'center'
},
title
:
'UPDATE VERSION'
}}
/
>
<
Stack
.
Screen
name
=
"Change Profil"
component
=
{
ChangeProfile
}
options
=
{{
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerTitleContainerStyle
:
{
alignContent
:
'center'
},
...
...
@@ -288,6 +303,21 @@ class Auth extends React.Component {
headerShown
:
false
,
}}
/
>
<
Stack
.
Screen
name
=
"Home"
component
=
{
Home
}
options
=
{{
headerShown
:
false
}}
/
>
<
Stack
.
Screen
name
=
"UpdateVersion"
component
=
{
UpdateVersion
}
options
=
{{
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerTitleContainerStyle
:
{
alignContent
:
'center'
},
headerTitleAlign
:
'center'
,
headerTintColor
:
'#fff'
,
headerTitleStyle
:
{
alignSelf
:
'center'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
,
color
:
'white'
,
textAlign
:
'center'
},
title
:
'UPDATE VERSION'
}}
/
>
<
/
>
)
:
(
<>
...
...
view/Login.js
View file @
690dcf3c
...
...
@@ -11,6 +11,7 @@ import { BASE_URL_LOGIN } from '../model/Base_Model';
import
{
Notifications
}
from
'expo'
;
import
Spinner
from
'react-native-loading-spinner-overlay'
;
import
Toast
from
'react-native-tiny-toast'
;
import
CheckVersion
from
'../function/CheckVersion'
;
class
Login
extends
React
.
Component
{
constructor
(
props
)
{
...
...
@@ -31,11 +32,10 @@ class Login extends React.Component {
}
componentDidMount
()
{
// console.log(this.props.language)
const
{
navigation
}
=
this
.
props
console
.
log
(
this
.
props
.
navigation
)
CheckVersion
(
navigation
)
this
.
_getDeviceInfo
()
}
_getDeviceInfo
=
async
()
=>
{
...
...
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