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
a31b85b6
Commit
a31b85b6
authored
Jun 16, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revisi update version 2
parent
8c26eec1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Home.js
view/Home.js
+3
-3
WelcomeLog.js
view/WelcomeLog.js
+3
-1
No files found.
view/Home.js
View file @
a31b85b6
...
@@ -38,8 +38,8 @@ class Home extends React.Component {
...
@@ -38,8 +38,8 @@ class Home extends React.Component {
}
}
componentDidMount
()
{
componentDidMount
()
{
const
{
navigation
}
=
this
.
props
//
const { navigation } = this.props
CheckVersion
(
navigation
)
//
CheckVersion(navigation)
const
screenWidth
=
Math
.
round
(
Dimensions
.
get
(
'window'
).
width
);
const
screenWidth
=
Math
.
round
(
Dimensions
.
get
(
'window'
).
width
);
this
.
setState
({
this
.
setState
({
...
@@ -72,7 +72,7 @@ class Home extends React.Component {
...
@@ -72,7 +72,7 @@ class Home extends React.Component {
})
})
}
}
this
.
_renderCarousell
()
this
.
_renderCarousell
()
CheckVersion
(
navigation
)
//
CheckVersion(navigation)
});
});
}
}
...
...
view/WelcomeLog.js
View file @
a31b85b6
import
*
as
React
from
'react'
;
import
*
as
React
from
'react'
;
import
{
Button
,
View
,
Text
,
TextInput
,
StyleSheet
,
Alert
,
Platform
,
Image
,
TouchableOpacity
,
StatusBar
,
ImageBackground
,
ScrollView
}
from
'react-native'
;
import
{
Button
,
View
,
Text
,
TextInput
,
StyleSheet
,
Alert
,
Platform
,
Image
,
TouchableOpacity
,
StatusBar
,
ImageBackground
,
ScrollView
}
from
'react-native'
;
import
Spinner
from
'react-native-loading-spinner-overlay'
;
import
Spinner
from
'react-native-loading-spinner-overlay'
;
import
CheckVersion
from
'../function/CheckVersion'
;
export
default
class
WelcomeLog
extends
React
.
Component
{
export
default
class
WelcomeLog
extends
React
.
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -11,7 +12,8 @@ export default class WelcomeLog extends React.Component {
...
@@ -11,7 +12,8 @@ export default class WelcomeLog extends React.Component {
}
}
componentDidMount
()
{
componentDidMount
()
{
// console.log(this.props.language)
const
{
navigation
}
=
this
.
props
CheckVersion
(
navigation
)
}
}
...
...
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